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

AutoComplete value of number 0 #5363

Closed
antangeles opened this issue Jun 26, 2017 · 1 comment · Fixed by #5364
Closed

AutoComplete value of number 0 #5363

antangeles opened this issue Jun 26, 2017 · 1 comment · Fixed by #5364
Assignees
Labels
P2 The issue is important to a large percentage of users, with a workaround

Comments

@antangeles
Copy link

Bug, feature request, or proposal:

When selecting the value of the number 0 from a drop down list of numbers, the value 0 is not set. A user can manually type in 0.

What is the expected behavior?

When selecting the value of the number 0 from a drop down list of numbers, the value 0 is set

What is the current behavior?

When selecting the value of the number 0 from a drop down list of numbers, the value 0 is not set and has a blank value in the input field.

What are the steps to reproduce?

https://plnkr.co/edit/czRXKtRzVyb2WyYFkWyM?p=preview

Select 0. The input will remain empty.

What is the use-case or motivation for changing an existing behavior?

Would like the ability to choose the number 0 as a value.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

current angular, current material, tested on windows 10, chrome

Is there anything else we should know?

@devversion devversion self-assigned this Jun 26, 2017
@kara kara added the P2 The issue is important to a large percentage of users, with a workaround label Jun 26, 2017
devversion added a commit to devversion/material2 that referenced this issue Jun 26, 2017
* Currently the autocomplete does not properly display the selected options with the number zero as value.

Fixes angular#5363.
tinayuangao pushed a commit that referenced this issue Jun 28, 2017
* fix(autocomplete): allow number zero as value

* Currently the autocomplete does not properly display the selected options with the number zero as value.

Fixes #5363.

* Fix typo
amcdnl pushed a commit to amcdnl/material2 that referenced this issue Jul 8, 2017
* fix(autocomplete): allow number zero as value

* Currently the autocomplete does not properly display the selected options with the number zero as value.

Fixes angular#5363.

* Fix typo
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P2 The issue is important to a large percentage of users, with a workaround
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants