Skip to content

💎 Version 2.0.7

Latest

Choose a tag to compare

@gabrielcaixeta gabrielcaixeta released this 08 Jun 20:34
e911b71

What's Changed

  • Selected items (parent groups and their children) are now automatically sorted to the top on initial render for the grouped type
  • 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) and reorder (sortSelectedUp, orderBy asc/desc, grouped children)

New Contributors

Full Changelog: v2.0.6...v2.0.7