-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Support basic validation rules on amp-selector #6930
Copy link
Copy link
Closed
Description
Looking for a workaround for this feature?
See couple of them below in the comments
The most basic one would be to support required.
This will probably require implementing the different validation/input interfaces the browser provides for built in inputs. For example, the following APIs are used on input:
- checkValidity():boolean
- validity:ValidityState
- validityMessage:string
These should probably already work on the current amp-selector.
- focus():void
blurevent
Extra bonus points to support:
minandmaxfor multiple selection limitation.
Reactions are currently unavailable