Closed
Description
I've encountered multiple bugs when using semantic UI's dropdown to prettify a select multiple
bound to an angular controller.
Issues arise
- when the controller updates the selection, e.g. when clearing the model once the form is submitted. In that case, selection labels are not cleared, the UI does not reflect the model state.
- when
dropdown('clear')
is used, causing angular to raise an error (probably trying to access the length of the selection array which has been wiped bydropdown('clear')
).
The following plunker shows the encountered issues:
http://plnkr.co/edit/r93SZXKQ8w5pAzlD1TlK?p=preview