Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Form] Setting custom attributes for choice options isn't possible #11982

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

Closed
CSchulz opened this issue Sep 22, 2014 · 3 comments
Closed

[Form] Setting custom attributes for choice options isn't possible #11982

CSchulz opened this issue Sep 22, 2014 · 3 comments

Comments

@CSchulz
Copy link

CSchulz commented Sep 22, 2014

Something like the following isn't possible at the moment:

<select name="select">
   <option class="x" value="1">red</option>
   <option value="2">blue</option>
   <option class="y" data-value="3" value="3">green</option>
</select>

I want to add some custom attributes to choice options.

@jakzal
Copy link
Contributor

jakzal commented Sep 22, 2014

duplicate of #3836

@jakzal jakzal closed this as completed Sep 22, 2014
@CSchulz
Copy link
Author

CSchulz commented Sep 22, 2014

@jakzal If possible, just delete it. :)

@stof
Copy link
Member

stof commented Sep 25, 2014

@CSchulz not possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants