You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very nice, if it there was a prop to clear the value when the user selects the currently active item. Personally I find it often irritating when it is possible to select a value, but there is no way to clear the value afterwards.
Currently, it is possible to achieve the same by just separating :model-value and @update:model-value, checking if the update would be for the current model-value and the just clearing the value.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be very nice, if it there was a prop to clear the value when the user selects the currently active item. Personally I find it often irritating when it is possible to select a value, but there is no way to clear the value afterwards.
Currently, it is possible to achieve the same by just separating :model-value and @update:model-value, checking if the update would be for the current model-value and the just clearing the value.
P.S. Many thanks for these awesome components.
Beta Was this translation helpful? Give feedback.
All reactions