Skip to content

The "clearable" directive should make array models empty instead of null #18035

Discussion options

You must be logged in to vote

You can use @clear to bind a function to the clear event:
E.g.

@clear="(value) => modelValue = ''"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Dries-XQTING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants