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 empty text when lost focus #3147

Closed
lukgit17 opened this issue Jun 19, 2017 · 2 comments
Closed

Autocomplete empty text when lost focus #3147

lukgit17 opened this issue Jun 19, 2017 · 2 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@lukgit17
Copy link

After replace following code
[value]=\"value ? (field ? resolveFieldData(value) || value : value) : null\"
with
[value]=\"value ? (field ? resolveFieldData(value) || '' : value) : null\"
result in this issue :

  • If i have an object in ngModel with properties, where one property is declarated in field, if search and select with enter value from items list then when lost focus text in autocomplete will become empty. But if i select from items list with mouse click text will remain after lost focus. this issue not appear with old code.

PrimeNg version : 4.1.0-rc.2
Angular version : 4.2.3

@cagataycivici cagataycivici self-assigned this Jun 20, 2017
@cagataycivici cagataycivici added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Jun 20, 2017
@cagataycivici cagataycivici added this to the 4.1.0 milestone Jun 20, 2017
@failpunk
Copy link

Yeah, this showed up for me when I upgraded to 4.1. I have to revert.

@Mrtcndkn Mrtcndkn self-assigned this Jun 29, 2017
@cagataycivici cagataycivici added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Jun 29, 2017
@cagataycivici
Copy link
Member

Replicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

4 participants