mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(date-picker): invalid and disabled props removed (#2737)
This commit is contained in:
parent
ed1dbbc172
commit
fdbfa1f299
5
.changeset/red-jobs-rest.md
Normal file
5
.changeset/red-jobs-rest.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@nextui-org/date-picker": patch
|
||||
---
|
||||
|
||||
Static props removed from date range input picker field
|
||||
@ -44,8 +44,6 @@ function DateRangePickerField<T extends DateValue>(
|
||||
let state = useDateFieldState({
|
||||
...otherProps,
|
||||
locale,
|
||||
isInvalid: true,
|
||||
isDisabled: true,
|
||||
validationBehavior: "native",
|
||||
createCalendar:
|
||||
!createCalendarProp || typeof createCalendarProp !== "function"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user