mg-library 1.0.588 → 1.0.589

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.
Files changed (2) hide show
  1. package/blocks.js +17 -5
  2. package/package.json +1 -1
package/blocks.js CHANGED
@@ -254,6 +254,7 @@ export function MGLogin(props) {
254
254
  /> */
255
255
  <NBInput
256
256
  size="lg"
257
+ py={3}
257
258
  placeholder={mgFunctionsLib.i18nString('userName', props.language)}
258
259
  onChangeText={onChange}
259
260
  value={value}
@@ -266,17 +267,28 @@ export function MGLogin(props) {
266
267
  control={control}
267
268
  rules={{ maxLength: 50 }}
268
269
  render={({ field: { onChange, value } }) => (
269
- <Input
270
- size='large'
270
+ /* <Input
271
+ size='large'
272
+ placeholder={mgFunctionsLib.i18nString('password', props.language)}
273
+ onChangeText={onChange}
274
+ secureTextEntry={true}
275
+ maxLength={12}
276
+ keyboardType='numeric'
277
+ value={value}
278
+ /> */
279
+ <NBInput
280
+ size="lg"
281
+ py={3}
271
282
  placeholder={mgFunctionsLib.i18nString('password', props.language)}
272
283
  onChangeText={onChange}
273
- secureTextEntry={true}
284
+ value={value}
285
+ secureTextEntry
274
286
  maxLength={12}
275
287
  keyboardType='numeric'
276
- value={value}
277
288
  />
289
+
278
290
  )}
279
- name="password" />
291
+ name='password' />
280
292
  }
281
293
  {!props.useNumericKeyboardOnPassword &&
282
294
  <Controller
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.588",
3
+ "version": "1.0.589",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {