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

In-built UI to clean model value #186

Open
fifonik opened this issue May 22, 2018 · 2 comments
Open

In-built UI to clean model value #186

fifonik opened this issue May 22, 2018 · 2 comments

Comments

@fifonik
Copy link

fifonik commented May 22, 2018

It would be nice to be able to clean model value without additional buttons.
I like the way as it is implemented in ui-select: if allow-clear="true" specified, additional cross button is displayed on the right and if clicked the model value is cleared. Also, DEL key could be used for clearing model value if pressed.

I implemented this behaviour. Here is the demo:
http://plnkr.co/edit/842VHw?p=preview

Any chances it would be integrated into the directive?
Thanks.

@fifonik fifonik changed the title In-build UI to clean model value In-built UI to clean model value May 22, 2018
@dimylkas
Copy link

Any updates?

@GedMarc
Copy link

GedMarc commented May 28, 2019

I'll pull it through to my branches

https://github.com/GedMarc/nya-bootstrap4-select

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

3 participants