Releases: anubra266/choc-autocomplete
v5.1.8
-
Enhanced Support for Number Values in 'getDefItemValue' Method
The method we use for fetching default item values, located in our helper script, has now been upgraded to process numerical values effectively. Previously, it only handled text values, but after this update it will be able to handle both numbers and text equally well. -
Improved
defaultValue
Handling in 'useAutoComplete' Function
This function, which is instrumental for our autocomplete feature, has been tweaked for better performance. Earlier it could struggle when dealing with non-text values due to type constraints. Now, it can hassle-free convert different data types into text format using thetoString
method. -
More Reliable Tag Label Assignment in 'useAutoComplete' Function
We also improved how labels are allotted to each tag within thetags
array in our autocomplete function. This update ensures that even when the value tagged isn't text-based, the 'label' property can still convert it to a string format, thereby increasing consistency.