px-react-ui-components 1.0.10 → 1.0.11
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.
|
@@ -38,7 +38,7 @@ function MyInput({
|
|
|
38
38
|
id = null,
|
|
39
39
|
ref = null,
|
|
40
40
|
title = "",
|
|
41
|
-
placeholder =
|
|
41
|
+
placeholder = null,
|
|
42
42
|
placeholdersearchtext = "",
|
|
43
43
|
description = null,
|
|
44
44
|
type = MyInputType.TEXT,
|
|
@@ -393,7 +393,7 @@ function MyInput({
|
|
|
393
393
|
type: "text",
|
|
394
394
|
value: myValue || '',
|
|
395
395
|
onChange: handleChange,
|
|
396
|
-
placeholder: placeholder
|
|
396
|
+
placeholder: placeholder,
|
|
397
397
|
autoComplete: "off",
|
|
398
398
|
style: style,
|
|
399
399
|
maxLength: maxlength,
|
|
@@ -421,7 +421,7 @@ function MyInput({
|
|
|
421
421
|
value: e.target.value.toLowerCase().replace(/\s/g, '')
|
|
422
422
|
}
|
|
423
423
|
}),
|
|
424
|
-
placeholder: placeholder
|
|
424
|
+
placeholder: placeholder,
|
|
425
425
|
autoComplete: "off",
|
|
426
426
|
style: style,
|
|
427
427
|
onBlur: onMyBlur,
|
|
@@ -451,7 +451,7 @@ function MyInput({
|
|
|
451
451
|
}
|
|
452
452
|
});
|
|
453
453
|
},
|
|
454
|
-
placeholder: placeholder
|
|
454
|
+
placeholder: placeholder,
|
|
455
455
|
autoComplete: "off",
|
|
456
456
|
style: style,
|
|
457
457
|
onBlur: onMyBlur,
|
|
@@ -472,7 +472,7 @@ function MyInput({
|
|
|
472
472
|
type: "text",
|
|
473
473
|
value: moneyFormat(myValue),
|
|
474
474
|
onChange: handleChange,
|
|
475
|
-
placeholder: placeholder
|
|
475
|
+
placeholder: placeholder,
|
|
476
476
|
autoComplete: "off",
|
|
477
477
|
style: style,
|
|
478
478
|
onBlur: onMyBlur,
|
|
@@ -493,7 +493,7 @@ function MyInput({
|
|
|
493
493
|
type: "number",
|
|
494
494
|
value: myValue,
|
|
495
495
|
onChange: handleChange,
|
|
496
|
-
placeholder: placeholder
|
|
496
|
+
placeholder: placeholder,
|
|
497
497
|
autoComplete: "off",
|
|
498
498
|
style: style,
|
|
499
499
|
onBlur: onMyBlur,
|
|
@@ -514,7 +514,7 @@ function MyInput({
|
|
|
514
514
|
id: "myDate" + myInputId,
|
|
515
515
|
value: myValue || '',
|
|
516
516
|
onChange: handleChange,
|
|
517
|
-
placeholder: placeholder
|
|
517
|
+
placeholder: placeholder,
|
|
518
518
|
min: minDate,
|
|
519
519
|
max: maxDate,
|
|
520
520
|
style: style,
|
|
@@ -536,7 +536,7 @@ function MyInput({
|
|
|
536
536
|
id: "myDateTime" + myInputId,
|
|
537
537
|
value: myValue || '',
|
|
538
538
|
onChange: handleChange,
|
|
539
|
-
placeholder: placeholder
|
|
539
|
+
placeholder: placeholder,
|
|
540
540
|
min: minDate,
|
|
541
541
|
max: maxDate,
|
|
542
542
|
style: style,
|
|
@@ -558,7 +558,7 @@ function MyInput({
|
|
|
558
558
|
id: "myTime" + myInputId,
|
|
559
559
|
value: myValue || '',
|
|
560
560
|
onChange: handleChange,
|
|
561
|
-
placeholder: placeholder
|
|
561
|
+
placeholder: placeholder,
|
|
562
562
|
style: style,
|
|
563
563
|
onBlur: onMyBlur,
|
|
564
564
|
onFocus: onMyFocus,
|
|
@@ -578,7 +578,7 @@ function MyInput({
|
|
|
578
578
|
type: myEyeView ? "text" : "password",
|
|
579
579
|
value: myValue,
|
|
580
580
|
onChange: handleChange,
|
|
581
|
-
placeholder: placeholder
|
|
581
|
+
placeholder: placeholder,
|
|
582
582
|
autoComplete: "new-password",
|
|
583
583
|
style: style,
|
|
584
584
|
maxLength: maxlength,
|
|
@@ -605,7 +605,7 @@ function MyInput({
|
|
|
605
605
|
type: "color",
|
|
606
606
|
value: myValue,
|
|
607
607
|
onChange: handleChange,
|
|
608
|
-
placeholder: placeholder
|
|
608
|
+
placeholder: placeholder,
|
|
609
609
|
style: style,
|
|
610
610
|
onBlur: onMyBlur,
|
|
611
611
|
onFocus: onMyFocus,
|
|
@@ -623,7 +623,7 @@ function MyInput({
|
|
|
623
623
|
id: id,
|
|
624
624
|
onChange: handleChange,
|
|
625
625
|
rows: rows,
|
|
626
|
-
placeholder: placeholder
|
|
626
|
+
placeholder: placeholder,
|
|
627
627
|
value: myValue,
|
|
628
628
|
style: style,
|
|
629
629
|
maxLength: maxlength,
|
|
@@ -782,7 +782,7 @@ function MyInput({
|
|
|
782
782
|
type: "file",
|
|
783
783
|
ref: fileInputRef,
|
|
784
784
|
onChange: handleChange,
|
|
785
|
-
placeholder: placeholder
|
|
785
|
+
placeholder: placeholder,
|
|
786
786
|
style: {
|
|
787
787
|
display: "none"
|
|
788
788
|
},
|