Open
Description
This wrapper takes either the value of the options
attribute, or the options
configuration (or the ngModel options otherwise) and adds them to Selectize via the addOption()
API.
This is not a good behavior: Selectize itself treats the options
configuration in a special way, using registerOption()
instead, so these are base options that cannot be deleted.
Only the options really added by the user can be deleted, the others are just unselected and added back to the option list.
angular-selectize should use registerOption()
too to initialize the component.
Metadata
Metadata
Assignees
Labels
No labels