We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1b55eb6 + b581e58 commit 644f555Copy full SHA for 644f555
1 file changed
src/components/NcDateTimePicker/NcDateTimePicker.vue
@@ -375,7 +375,12 @@ const pickerType = computed(() => ({
375
yearPicker: props.type === 'year',
376
monthPicker: props.type === 'month',
377
weekPicker: props.type === 'week',
378
- range: props.type.startsWith('range'),
+ range: props.type.startsWith('range') && {
379
+ // do not use partial ranges (meaning after selecting the start [Date, null] will be emitted)
380
+ // if this is needed someday we can enable it,
381
+ // but its not covered by our component interface (props / events) documentation so just disabled for now.
382
+ partialRange: false,
383
+ },
384
enableTimePicker: !(props.type === 'date' || props.type === 'range'),
385
flow: props.type === 'datetime'
386
? ['calendar', 'time'] as ['calendar', 'time']
0 commit comments