v2.0.0
What's Changed
🎉 You can now search in the whole world!
⚠️ BREAKING CHANGES
Component properties
- Renamed
useGeolocationtogeolocation. - Added
onCountryModehandler. - Added
onCountryChangehandler. - Updated
options.
Options
countriesis no longer required!- Changed
countryAutoFilldefault totrue. - Added
countrySelect(default:true) to disable country selection mode whencountriesis not set. - Moved
className,offset,strategy,flipunderpanelobject. - Moved
noResultstoformat.noResults. - Moved and renamed
formatValuetoformat.value. - Removed
template. - Added
format.subto replacetemplate–it can only control the sub text of a suggestion. - Added
format.iconandformat.flagto help customize icons/flags. - Added
format.applySuggestionandformat.cancelto help customize text labels/ARIA-labels.
👉 Read PlaceKit Autocomplete v2 release notes for all changes.
Full Changelog: v1.6.1...v2.0.0