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

Don't update ngModel or value of input after selection through preventDefault inside typeahead #6672

Open
ruimendes29 opened this issue Jul 24, 2024 · 0 comments

Comments

@ruimendes29
Copy link

Is your feature request related to a problem? Please describe.

It is related to #2243, as currently still some the question of that thread are not answered. I would like to have a solution to prevent the default behavior of onSelect, and prevent that the value of the control gets set on selection of an option.

Describe the solution you'd like

Either have a preventDefault on an event from onSelect that would prevent the control from changing value or have a possibility to pass from the outside method selectMatch, so I can override the whole logic.

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

1 participant