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

zaaSelect empty entry #1520

Closed
TheMaaarc opened this issue Sep 26, 2017 · 2 comments
Closed

zaaSelect empty entry #1520

TheMaaarc opened this issue Sep 26, 2017 · 2 comments
Assignees
Milestone

Comments

@TheMaaarc
Copy link
Member

First entry should always be <option disabled selected value>-- select an option --</option>.

If the select has no value or the user clicks the "remove selection" button (cross icon on the right) the select should show the first entry.

@TheMaaarc TheMaaarc added this to the 1.0.0 milestone Sep 26, 2017
@nadar
Copy link
Member

nadar commented Oct 18, 2017

If the select has no value or the user clicks the "remove selection" button (cross icon on the right) the select should show the first entry.

@TheMaaarc i don't think this should be the default behavior, as long as initValue is not provided, it would not be possible to reset a selected state (like reset model to null). Maybe if there is an initValue it should always reset to the given initValue.

@TheMaaarc
Copy link
Member Author

True story, makes sense.

@nadar nadar closed this as completed in ed2cc70 Nov 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants