Skip to content

Commit ca8554c

Browse files
authored
feat(date-picker): add missing ref to input wrapper (#3011)
* fix(date-picker): add missing ref to input wrapper * feat(changeset): add changeset
1 parent 77e85e6 commit ca8554c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/modern-eels-march.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@nextui-org/date-picker": patch
3+
---
4+
5+
add missing ref to input wrapper (#3008)

packages/components/date-picker/src/use-date-range-picker.ts

+1
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ export function useDateRangePicker<T extends DateValue>({
315315

316316
const getInputWrapperProps = (props = {}) => {
317317
return {
318+
ref: domRef,
318319
...props,
319320
...groupProps,
320321
"data-slot": "input-wrapper",

0 commit comments

Comments
 (0)