diff --git a/.changeset/modern-eels-march.md b/.changeset/modern-eels-march.md new file mode 100644 index 0000000000..dc9d0ed9bf --- /dev/null +++ b/.changeset/modern-eels-march.md @@ -0,0 +1,5 @@ +--- +"@nextui-org/date-picker": patch +--- + +add missing ref to input wrapper (#3008) diff --git a/packages/components/date-picker/src/use-date-range-picker.ts b/packages/components/date-picker/src/use-date-range-picker.ts index 7851b31a77..4df77b48f6 100644 --- a/packages/components/date-picker/src/use-date-range-picker.ts +++ b/packages/components/date-picker/src/use-date-range-picker.ts @@ -315,6 +315,7 @@ export function useDateRangePicker({ const getInputWrapperProps = (props = {}) => { return { + ref: domRef, ...props, ...groupProps, "data-slot": "input-wrapper",