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

Unable to bind ngModel to field for values not in data #196

Open
lsacco-nutreense opened this issue May 22, 2022 · 0 comments
Open

Unable to bind ngModel to field for values not in data #196

lsacco-nutreense opened this issue May 22, 2022 · 0 comments

Comments

@lsacco-nutreense
Copy link

The main reason I'm exploring this library over something like ng-select is because it provides the ability to put a value in the field that does not exist in the list returned from data. However, while I can do that, it's not allowing me to save that value. I've tried the usual Angular way by setting [(ngModel)] mapped to my form's model, but this component doesn't like it and fails to do autocomplete.

Do you have any suggestions on how to allow the user inputted value to be saved if not selected from the data array? Thanks!

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