-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
ion-select not selecting falsy values #15420
Comments
Note to team: I was able to reproduce this in the core branch using latest. If you add a log in the I believe this may be an issue with Stencil but it needs more digging. cc @manucorporat |
Found the source of the issue. This is actually a problem with the way we set the value in the Alert. Working on a fix. |
This will be fixed for select using the Thank you for the issue! |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Bug Report
Describe the Bug
ion-select is not selecting if value is 0 or false
Steps to Reproduce
Steps to reproduce the behavior:
1.select 1 first.
2.see it is selected normally
3.select 0 and see its not selected.
4.change 0 to false and see its not selected also.
Related Code
https://stackblitz.com/edit/github-igwscn
Expected Behavior
select should select falsy values.
The text was updated successfully, but these errors were encountered: