-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: handling of empty values in NcDateTimePickerNative #4540
Conversation
ec6d1bc
to
141c9e4
Compare
Is this ready for review? |
141c9e4
to
49803ee
Compare
49803ee
to
314c156
Compare
Is there a before after or some reproduction steps how to check if it actually works? |
314c156
to
e8d5ec3
Compare
The style guide now renders the currently selected value. Have a look at: It should render a date if one is selected and null otherwise. |
src/components/NcDateTimePickerNative/NcDateTimePickerNative.vue
Outdated
Show resolved
Hide resolved
Signed-off-by: Richard Steinmetz <[email protected]>
e8d5ec3
to
05d58f6
Compare
☑️ Resolves
The native date time picker doesn't handle empty values gracefully. Currently, there will be errors in the console due to a failing type check.
The style guide now renders the currently selected value. Have a look at it on the preview:
https://deploy-preview-4540--nextcloud-vue-components.netlify.app/#/Components/NcPickers?id=ncdatetimepickernative
Links are apparently broken. You may need to scroll to the NcDateTimePickerNative manually.
It should render a date if one is selected and null otherwise.
🖼️ Screenshots
🚧 Tasks
🏁 Checklist