web-ridge / react-native-paper-dates

Smooth and fast cross platform Material Design date and time picker for React Native Paper
https://www.reactnativepaperdates.com
MIT License
640 stars 164 forks source link

Missing buttons for manual input #290

Closed rokamon1997 closed 9 months ago

rokamon1997 commented 1 year ago

Current behaviour

I have setup 'sl' locale and I need to input the date in 'DD. MM. YYYY' with spaces. There is however no space available in the number keyboard that pops up.

Is there a way:

Expected behaviour

Expected behaviour would be that a keyboard opens up with all the buttons necessary to write the date accordingly to the locale format.

How to reproduce?

<DatePickerModal locale="sl" mode="single" visible={componentsStore.archiveDatePickerVisible} onDismiss={onDismissDatePicker} onConfirm={onConfirmDate} animationType={'slide'} disableStatusBar={true} date={mapStore.flashesArchiveTimestamp} validRange={{ startDate: new Date(2010, 0, 1), endDate: new Date() }} startYear={2010} endYear={new Date().getFullYear()} />

Preview

350270919_6199153236858378_6635026095861332664_n

What have you tried so far?

I played with inputFormat property to define format manually but that doesn't seem to work.

Your Environment

software version
ios /
android 12
react-native 0.71.8
react-native-paper 5.6.0
node 16.19.1
npm or yarn 8.19.3
expo sdk 48.0.10