Skip to content

Releases: sergiodlopes/jquery-flexdatalist

v2.3.0

13 Feb 17:32
Compare
Choose a tag to compare
  • 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

24 Mar 19:54
Compare
Choose a tag to compare
  • fix for duplicate values issue #136

v2.2.3

24 Mar 13:31
Compare
Choose a tag to compare
  • 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

09 Sep 22:07
Compare
Choose a tag to compare
  • placeholder fix
  • minor improvements

v2.2.1

08 Sep 15:00
Compare
Choose a tag to compare
  • 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

05 Sep 14:16
Compare
Choose a tag to compare
  • 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

16 Jul 23:09
Compare
Choose a tag to compare
  • code improvements to better handle removing results, value, etc
  • minor fixes and improvements

v2.1.2

16 Jul 12:16
Compare
Choose a tag to compare
  • prevent clearing value when value selection is not required
  • minor fixes and improvements

v2.1.1

10 Jul 13:52
Compare
Choose a tag to compare
  • Disabling search will just pass data directly to results (as it should)

v2.1.0

08 Jul 18:52
Compare
Choose a tag to compare
  • 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.