forked from buefy/buefy
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- `Datetimepicker` migrates to Vue 3. Changes sufficient to render the documentation page of `Datetimepicker` are made. - In `src/components/datetimepicker/Datetimepicker.vue`, - `v-model` binding conforms to Vue 3, - `value` prop --> `modelValue` - `input` event --> `update:modelValue` - `value` binding of `b-input` is replaced with `model-value`. - Events to be emitted are listed in `emits`. - `disabled` is replaced with a new computed value `disabledOrUndefined` that takes `true` or `undefined`. This is introduced because setting a boolean attribute `false` does not remove it on Vue 3, and `null` or `undefined` has to be given to remove it. - In `src/components/timepicker/Timepicker.vue`, manually fixes the following ESLint errors, - `.native` is removed from `v-on` because Vue 3 no longer supports it. - Explicitly returns `undefined` from the computed property `nativeStep`. - Common, - Automatic ESLint fix is applied.
- Loading branch information
Showing
2 changed files
with
82 additions
and
43 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
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