ClickerMonkey / SemanticUI-Angular

Angular Directives for Semantic UI
http://clickermonkey.github.io/SemanticUI-Angular/examples/
MIT License
56 stars 28 forks source link

Add ability to clear dropdown programmatically. #28

Closed jansivans closed 6 years ago

jansivans commented 6 years ago

Fixes such issues as #26 and #14

ClickerMonkey commented 6 years ago

I'm thinking we should pass a parameter which defines what value should cause a clear - based on the proposed logic anything falsy could clear the dropdown. Things like 0 and false may be valid values.

jansivans commented 6 years ago

I have added value == null check. This will catch null and undefined values.

ClickerMonkey commented 6 years ago

Code Released:

https://github.com/ClickerMonkey/SemanticUI-Angular/releases/tag/0.2.3