Releases: sergiodlopes/jquery-flexdatalist
Releases · sergiodlopes/jquery-flexdatalist
v2.3.0
- Added support for taking a string/value from nested objects for valueProperty, textProperty and visibleProperties (thks @sylvainblot)
- Allow to customize the parameter name 'contain' that goes to the server (@lucaslm)
- Added 'params' option to also be a callback function that allows the customization of the parameters (@lucaslm)
- Added event 'empty:flexdatalist.results' (@fuzzywalrus)
- Added event 'item:flexdatalist.results' to allow for personalization of the item result
- Prevent form submit when adding value from enter key
- Added isArray() polyfill
- Removed deprecated jQuery methods to trigger/listen to events
- Added 'requestHeaders' option (thks @ozgurg)
- Fixed value duplication bug (#118) for multiple mode
- Fix unescaped string in regex processing, on the highlight function (thks @antunesl)
- Fix when handling the value limit
- Fix for when array values are mixed with JSON object and simple strings
- Fix when toggling values
- Improved accessibility (WIP)
v2.2.4
v2.2.3
- added tabindex -1 on input to prevent usability issues @Fewald
- update label[for] with correct alias ID
- focus on init fix
- class 'autodiscover-disabled' does what it suggests
- added event remove:flexdatalist.results for when results are removed
- data is not defined when using requestContentType = 'json'
v2.2.2
- placeholder fix
- minor improvements
v2.2.1
- fixes and improvements calling 'destroy' method
- alias field attributes cleanup
- dynamic multiple input size
- value not being removed on multiple values setup
v2.2.0
- now real input won't be hidden, just off screen (hopefully this will prevent clearing input on browser back page)
- minor fix on toggle
- valueProperty now accepts array of properties to pick from object item as value
- visibleProperties accepts string with placeholders
- added garbage collector for cache to prevent filling all localStorage available storage space
- gc runs on init only
- don't hide input container when there's no values
- minor fix for init event
- accept number value (converting it to string)
- minor backspace value removal fix
- other minor fixes and improvements
v2.1.3
- code improvements to better handle removing results, value, etc
- minor fixes and improvements
v2.1.2
- prevent clearing value when value selection is not required
- minor fixes and improvements
v2.1.1
- Disabling search will just pass data directly to results (as it should)
v2.1.0
- Lot's of improvements and fixes, including not allowing to add/set multiple values directly
- Disabled state change (check documentation)
Please note, if getting data from options.url, on init, flexdatalist will now send a new parameter load
that contains the values that needs to process. The keyword
parameter will contain the string for search.