Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Clear typeahead input when value not from popup entered #4265

Closed
im1dermike opened this issue Aug 24, 2015 · 5 comments
Closed

Clear typeahead input when value not from popup entered #4265

im1dermike opened this issue Aug 24, 2015 · 5 comments

Comments

@im1dermike
Copy link

When using typeahead-editable="false", the model bound to the typeahead is undefined on blur when a value is not selected from the popup. Unfortunately, the input still contains the value entered. The expected/desired behavior for me is to clear the input in such a situation.

@wesleycho
Copy link
Contributor

Can you put together a quick Plunker illustrating this? It would save some time mentally processing this & make desired behavior clear.

@im1dermike
Copy link
Author

Sure. My apologies. I thought I was missing something. :P

http://plnkr.co/edit/TAhtbdQH5C3DarGQjdyP?p=preview

@wesleycho
Copy link
Contributor

No worries, it was more of a convenience favor :) .

@im1dermike
Copy link
Author

Any timeline on this?

@wesleycho
Copy link
Contributor

Not currently, this month is a pretty busy month for me, although maybe someone else is able to step up to the plate - if you're willing, feel free to file a PR with the fix for this with accompanying unit test, as that would be the fastest way to get the fix in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants