ordering-ui-react-native 0.18.16 → 0.18.17

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.18.16",
3
+ "version": "0.18.17",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -591,7 +591,7 @@ const SignupFormUI = (props: SignupParams) => {
591
591
  control={control}
592
592
  render={({ onChange, value }: any) => (
593
593
  <OInput
594
- placeholder={t(field.name)}
594
+ placeholder={t(field.name?.replace(/\s/g, '_')?.toUpperCase(), field.name)}
595
595
  style={style.inputStyle}
596
596
  icon={
597
597
  field.code === 'email'