-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- In `src/components/switch/Switch.vue`, - `v-model` binding is updated for Vue 3, - `value` prop --> `modelValue` - `input` event --> `update:modelValue` - Setting a boolean attribute to `false` does not remove the attribute on Vue 3. It ended up with a grayed out switch. `disabled` should not directly be bound to the `disabled` attribute but a newly computed `disabledOrUndefined` has to be used instead. - Automatic ESLint fix is applied.
- Loading branch information
Showing
1 changed file
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters