Skip to content

v1.4.0

Latest
Compare
Choose a tag to compare
@mynamesleon mynamesleon released this 27 Mar 08:24
· 3 commits to master since this release

Added

  • the ability to provide a function for the confirmOnBlur option that can return a string to compare against the search result labels.
  • page up and page down key handling within the options list to move the current focus position up or down by 10 options.
  • handling for disabled options, including ones based on disabled checkboxes and disabled select options.

Changed

  • adjusted the confirmOnBlur string matching behaviour to use the "cleaned" version of the search term and option label when blurring off of the field without a currently focused menu option.
  • defensive adjustment to setting the input value and moving focus to it after the component area is blurred.

Fixed

  • the create option when used as a function not being called with the API as context.