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:
to set which keyboard type should pop up
to define the date format manually (not based on my locale - I would like the format to be 'DD.MM.YYYY' without spaces. InputFormat property doesn't seem to do anything.
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.
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
What have you tried so far?
I played with inputFormat property to define format manually but that doesn't seem to work.
Your Environment