Skip to content

Commit

Permalink
docs(changeset): chore: replace redundant useManagedState with define…
Browse files Browse the repository at this point in the history
…Model
  • Loading branch information
JoCa96 committed Jan 16, 2025
1 parent 7deab1a commit ab7d543
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .changeset/three-hornets-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@sit-onyx/headless": patch
"sit-onyx": major
---

chore: replace redundant useManagedState with defineModel

The changes are mostly internal, but the typings were of `OnyxSelect` were improved:

- The `modelValue` now infers a specific subtype of `SelectOptionValue` and the `options` values must match.
- `withSearch`: Filtering of the options will not automatically disabled anymore when `searchTerm` is bound. Instead `noFilter` must be set.

0 comments on commit ab7d543

Please sign in to comment.