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.
- package/blocks.js +17 -5
- 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
|
-
|
|
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
|
-
|
|
284
|
+
value={value}
|
|
285
|
+
secureTextEntry
|
|
274
286
|
maxLength={12}
|
|
275
287
|
keyboardType='numeric'
|
|
276
|
-
value={value}
|
|
277
288
|
/>
|
|
289
|
+
|
|
278
290
|
)}
|
|
279
|
-
name=
|
|
291
|
+
name='password' />
|
|
280
292
|
}
|
|
281
293
|
{!props.useNumericKeyboardOnPassword &&
|
|
282
294
|
<Controller
|