ordering-ui-react-native 0.16.29-release → 0.16.30-release

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.16.29-release",
3
+ "version": "0.16.30-release",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -118,7 +118,7 @@ export const PhoneInputNumber = (props: PhoneInputParams) => {
118
118
  flagButtonStyle={flagStyle}
119
119
  countryPickerButtonStyle={{ ...style.countryBtn, ...boxStyle ? boxStyle : {} }}
120
120
  placeholder={t('PHONE_NUMBER', 'Phone Number')}
121
- textInputProps={{ autoCompleteType: 'tel', ref: forwardRef, ...textInputProps }}
121
+ textInputProps={{ keyboardType: 'number-pad', autoCompleteType: 'tel', textContentType: 'telephoneNumber', dataDetectorTypes: 'phoneNumber', ref: forwardRef, ...textInputProps }}
122
122
  containerStyle={{ width: '100%' }}
123
123
  renderDropdownImage={noDropIcon ? <View /> : <OIcon src={theme.images.general.arrow_down} width={13} color={'#B1BCCC'}></OIcon>}
124
124
  />