Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amp-bind: Support <select> #8939

Closed
dreamofabear opened this issue Apr 25, 2017 · 0 comments
Closed

amp-bind: Support <select> #8939

dreamofabear opened this issue Apr 25, 2017 · 0 comments
Assignees
Labels
Projects
Milestone

Comments

@dreamofabear
Copy link

We should support setting state vars from drop-down menus. One way to do this is add support for <select>'s change event, as we currently do for <input>:

<select on="change:AMP.setState({event.value})">
  <option value="foo">foo</option>
  <option value="bar">bar</option>
</select>

/to @kmh287

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
UI
  
Implemented (needs ABE sample)
Development

No branches or pull requests

4 participants