-
oi-select-options:
minlengthis minimum length of query for searching
-
list-placeholder: placeholder for dropdown list if no items found
-
oi-options:
select asworks correct with object data source, and with zero iddisable whenitems don't add on clickenter
-
oiSelectAscSort works correct with different locales (f.e. Turkish)
-
oi-select fix memory leak
- oi-select-options:
- listFilter: 'oiSelectAscSort:true' shows sorted original list
-
oi-select:
maxlengthtranslate maxlength attribute on input -
oi-select-options:
- maxlength is maximum number of characters allowed in the input
- groupFilter for customizing group header
- oi-select: correct works in IE9
- oi-select: item with empty label equivalent undefined
-
oiSelectAscSort, oiSelectHighlight: escape regexp
-
disable: correct work if all items were removed
-
oi-select-options:
- debounce works correct
- removeItemFn get item in attribute
-
translate example: fixed output
- animate: correct work in Angular 1.2.x
-
oi-select-options:
- saveTrigger: added
tabvalue
- saveTrigger: added
-
npm: added commonjs + npm support
- oi-select-options:
- saveTrigger has new default format:
enter tab blur
- saveTrigger has new default format:
- oi-select-options:
- newItem = "prompt": fixed items saving
- oi-select: is optional (useful for new item case)
- multiple: is observable
- multiple-limit: is observable
- multiple-placeholder: placeholder for multiple select if items were chosen
- oi-select-options:
- saveTrigger provides
spaceand any chars (,,;etc.) - removeItemFn removes item if promise was resolved
- newItemFn allows validate new item. Returns
undefinedor rejqcted promise to prevent adding
- saveTrigger provides
- oi-select-options:
- editItem: fixed restoring last deleted editable option in multiple mode
- editItem = 'correct': restore item if model was not changed
- oi-select-options:
- saveTrigger has new format:
'blur space ; , /'. Characters separated by spaces
- saveTrigger has new format:
- oi-select-options:
- cleanModel: changed behavior (clean model by click). It affected
newItem: 'prompt'
- cleanModel: changed behavior (clean model by click). It affected
- dropdown fixed dropdown opening in IE, open dropdown by pushing on letter keys (for single select)
- oi-select-options:
- closeList: fixed
- events correct works in container with
tabindex - dropdown open/close by click on empty input; adapted for window resize
- examples correct works on mobile devices
- disabled fixed zero width if no chosen elements in disabled mode
-
examples added example of creating items
-
oi-select-options:
- listFilter: 'oiSelectAscSort' provide extra params for filtering by other fields
- events fixed unbind of event handlers after scope destroying
- single fixed click on border of oi.select and pressing of key down
-
oi-options
$querySelectAsargument renamed to$selectedAs
-
oi-select-options:
- newItemFn has new format:
'addItem($query)'instead ofaddItem
- newItemFn has new format:
- examples added translate and funny examples
- tests created test for some filters
- dropdown fixed a case where the list was closed before clicking on the item
- styles use flexbox. Remove measurement input text logic
- blur fixed blur trigger in IE, FF, Opera
- tests fixed some tests
- input fixed text selection behaviour
- version added version info in
oiSelectservice - tests created test environment and added tests
- structure file structure refactoring
- compatibility correct work with
ngAria
- IE: fixed disabled options and multiple limit in IE
- dropdown fixed bug when the list does not close immediately when you select item
-
multiple-limit: add
limitedclass -
oi-select-options:
- closeList (close dropdown list by default after choosing or removing item)
- listFilter = "none" (add
filter('none', function() { return function(input) { return input; }}))
- input: fix focus/blur
- default filters correct work with search expression of several words
- oi-select-options:
- editItem = "correct" (allows you to edit the value of the deleted item except the first time)
- oi-select-options:
- saveLastQuery rename to editItem
- oi-select-options:
- saveLastQuery (default function for
truevalue. Add example) - newItem = "prompt" (
cleanEmpty = trueby default) - newItem = "autocomplete" (
cleanEmpty = falseby default)
- saveLastQuery (default function for
- dropdown: stay item in the list if you use
saveLastQueryin single mode - search: fix cyclic recovering of query while removing
- input: correct work with backslash
- multiple: fixed deletion of all items from the list
- oi-select-options:
- cleanModel [depricated] clean model on blur (old behaviour)
- items: use
trackByfor labels if items are identified by IDs rather than by name - oi-options: use correct scope for getters
- select as the order of chosen elements now equal the order of elements in the model
- notempty remove
notempty(this behavior is the default now) - classes move
open,focusedandloadingclasses tooi-selectelement - oi-select-options:
- autocomplete (rename
autoselecttoautocomplete)
- autocomplete (rename
- oi-select: rename oi-multiselect to oi-select
- oi-options: rename
ng-optionstooi-options(compatible with angular 1.4.x) - disable when: provide disabled expression for option
- build Grunt replaced on Gulp
- tabindex: work with ngArea
- input: prevent default event on enter (prevents accidental form submission)
- groupping remove sort group indexes for angular 1.4.x
- demo: new demo page
- events: fire
focusandblurevent on multiselect element
- dropdown: ignore private keys starts with
$(f.e. $promise and $resolved added by ngResource) - input: error where
position < 0
- do not select the highlighted option on blur (native select behavior)
-
select
assupport -
oi-select-options:
- saveTrigger
- newItem
- newItemModel
- newItemFn
- dropdown: stay opened on click if query not empty
- demo: remove broken example
- oi-select-options:
- saveLastQuery
-
oi-select-options:
- saveLastQuery
-
styles
- add loading class
- add arrow icon in all types of single select
- oi-select-options:
- listFilter
- autofocus
- oi-select-options:
- debounce
- searchFilter
- dropdownFilter
- provide input filter
- provide input function
- disabled
- multiple and multiple-limit
- readonly
- notempty
- module
- documentation