Skip to content

Commit 85e2362

Browse files
committed
Allow keyboard type to be passed.
1 parent db065a6 commit 85e2362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Date/DatePickerInputWithoutModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function DatePickerInputWithoutModal(
7373
withDateFormatInLabel,
7474
})}
7575
value={formattedValue}
76-
keyboardType={'number-pad'}
76+
keyboardType={rest.keyboardType ?? 'number-pad'}
7777
mask={inputFormat}
7878
onChangeText={onDateInputChangeText}
7979
onChange={(e) => onChangeText && onChangeText(e.nativeEvent.text)}

0 commit comments

Comments
 (0)