Skip to content

Commit 3fb09fe

Browse files
authored
fix(DatePicker): select initial date in mobile picker (#127)
1 parent 808bf51 commit 3fb09fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/DatePicker/MobileCalendar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function MobileCalendar({props, state}: MobileCalendarProps) {
3232
className={b()}
3333
disabled={props.disabled}
3434
type={type}
35-
value={formatNative(state.dateFieldState.displayValue, type)}
35+
value={formatNative(state.dateFieldState.value, type)}
3636
id={props.id}
3737
min={formatNative(props.minValue?.timeZone(state.timeZone), type)}
3838
max={formatNative(props.maxValue?.timeZone(state.timeZone), type)}

0 commit comments

Comments
 (0)