You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how to set focus on selectize input control on config?
This work for me but is the way?
settings.onInitialize = function() {
selectize = element[0].selectize;
setSelectizeOptions(scope.options);
if(scope.config.setFocus){
selectize.focus();
}
//provides a way to access the selectize element from an
//angular controller
if (scope.config.onInitialize) {
scope.config.onInitialize(selectize);
}
scope.$watchCollection('options', setSelectizeOptions);
scope.$watch('ngModel', setSelectizeValue);
scope.$watch('ngDisabled', toggle);
};
The text was updated successfully, but these errors were encountered:
how to set focus on selectize input control on config?
This work for me but is the way?
The text was updated successfully, but these errors were encountered: