What's Changed
- Selected items (parent groups and their children) are now automatically sorted to the top on initial render for the
groupedtype - No prop required — behavior is applied automatically when the component mounts
- Sorting is based on the initial
modelValue(pre-existing selections). Dynamic selections during interaction do not trigger reordering — a page re-render (e.g. after saving the form) is required to reflect the new order - Sorting now correctly handles accented characters (á, ã, ç, é, etc.) — labels are normalized before comparison, so "Ação" and "Água" sort alphabetically as expected
- Added unit tests for
normalizeText(accent stripping, lowercase, Brazilian state names) andreorder(sortSelectedUp, orderBy asc/desc, grouped children)
New Contributors
- @meyreanusia made their first contribution in #67
Full Changelog: v2.0.6...v2.0.7