This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
Releases: Financial-Times/o-autocomplete
Releases · Financial-Times/o-autocomplete
minor: Preserve source elements' attributes
v1.3.0 Merge pull request #14 from Financial-Times/preserve-source-attributes
minor: Add an onConfirm function which is called when the user selects an option
Add an onConfirm function which is called when the user selects an op… …tion This function is called with the selected option in it's original form. I.E. The option value which was returned by the `source` function before being passed through `mapOptionToSuggestedValue`.
minor: Provide an API for applications to be able to transform the return values from their `source` function before rendering the suggestions.
v1.1.0 Add mapOptionToSuggestedValue to this.options
patch: Only allow specific options to be passed to accessible-autocomplete
only assigns options which are supported by o-autocomplete to this.op… …tions
patch: Make sure the clear button is associated with the correct input element
Use the input's ID as the argument to createClearButton instead of pa… …ssing an empty string
patch: Update demo titles
When two titles are the same it is confusing.
patch: Update support status
v1.0.2 Update support status
patch: Correct static demo html
v1.0.1 Correct static demo html