Skip to content

Commit 69da428

Browse files
authored
fix(RangePicker): syntax errors (#6469)
1 parent 78c8c9d commit 69da428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-picker/RangePicker.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ function RangerPicker<DateType>() {
315315

316316
// Fill disabled unit
317317
for (let i = 0; i < 2; i += 1) {
318-
if (mergedDisabled[i] && !getValue(postValues, i) && !getValue(props.allowEmpty, i)) {
318+
if (mergedDisabled.value[i] && !getValue(postValues, i) && !getValue(props.allowEmpty, i)) {
319319
postValues = updateValues(postValues, props.generateConfig.getNow(), i);
320320
}
321321
}

0 commit comments

Comments
 (0)