Skip to content

Commit

Permalink
Document that amp-form supports amp-selector (ampproject#7242)
Browse files Browse the repository at this point in the history
  • Loading branch information
dandv authored and jridgewell committed Jan 31, 2017
1 parent fa68bb1 commit b7cca49
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions extensions/amp-form/amp-form.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!---
Copyright 2016 The AMP HTML Authors. All Rights Reserved.
Copyright 2017 The AMP HTML Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -118,11 +118,12 @@ See the [Custom Validation](#custom-validations) section for more details.

**Allowed**:

* Other form-related elements, including: `<textarea>`, `<select>`, `<option>`, `<fieldset>`, and `<label>`.
* Other form-related elements, including: `<textarea>`, `<select>`, `<option>`, `<fieldset>`, and `<label>`.
* [`amp-selector`](https://www.ampproject.org/docs/reference/components/amp-selector)

**Not Allowed**:

* `<input type=button>`, `<input type=file>`, `<input type=image>` and `<input type=password>`
* `<input type=button>`, `<input type=file>`, `<input type=image>` and `<input type=password>`
* Most of the form-related attributes on inputs including: `form`, `formaction`, `formtarget`, `formmethod` and others.

(Relaxing some of these rules might be reconsidered in the future - please let us know if you require these and provide use cases).
Expand Down

0 comments on commit b7cca49

Please sign in to comment.