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

Model attribute naming and checkbox value #255

Open
olaf-k opened this issue Jul 29, 2014 · 0 comments
Open

Model attribute naming and checkbox value #255

olaf-k opened this issue Jul 29, 2014 · 0 comments

Comments

@olaf-k
Copy link

olaf-k commented Jul 29, 2014

Text and textarea inputs map the model attribute to their value property, while checkbox and radio inputs use it for their selected state. Why not keep these names? It's not a big deal but I'd find that more self-explanatory than model.

Also, setting a value attribute does not seem to work for checkbox inputs (in standard html, value and selected are not linked.)

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

1 participant