@gustavo-valsechi/client 1.4.150 → 1.4.151
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.
|
@@ -106,7 +106,6 @@ function InputSelect(props) {
|
|
|
106
106
|
"input",
|
|
107
107
|
{
|
|
108
108
|
...import_lodash.default.omit(props, ["className", "register", "mask", "setValue", "watch"]),
|
|
109
|
-
...register,
|
|
110
109
|
ref: inputRef,
|
|
111
110
|
type: "text",
|
|
112
111
|
maxLength: props.maxLength || 255,
|
|
@@ -115,7 +114,8 @@ function InputSelect(props) {
|
|
|
115
114
|
onBlur,
|
|
116
115
|
onClick: () => inputRef.current.focus(),
|
|
117
116
|
value: focus ? filter : inputValue,
|
|
118
|
-
placeholder: import_lodash.default.isString(value) ? value : (value == null ? void 0 : value.textContent) || ""
|
|
117
|
+
placeholder: import_lodash.default.isString(value) ? value : (value == null ? void 0 : value.textContent) || "",
|
|
118
|
+
...register
|
|
119
119
|
}
|
|
120
120
|
),
|
|
121
121
|
!focus && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
@@ -73,7 +73,6 @@ function InputSelect(props) {
|
|
|
73
73
|
"input",
|
|
74
74
|
{
|
|
75
75
|
..._.omit(props, ["className", "register", "mask", "setValue", "watch"]),
|
|
76
|
-
...register,
|
|
77
76
|
ref: inputRef,
|
|
78
77
|
type: "text",
|
|
79
78
|
maxLength: props.maxLength || 255,
|
|
@@ -82,7 +81,8 @@ function InputSelect(props) {
|
|
|
82
81
|
onBlur,
|
|
83
82
|
onClick: () => inputRef.current.focus(),
|
|
84
83
|
value: focus ? filter : inputValue,
|
|
85
|
-
placeholder: _.isString(value) ? value : (value == null ? void 0 : value.textContent) || ""
|
|
84
|
+
placeholder: _.isString(value) ? value : (value == null ? void 0 : value.textContent) || "",
|
|
85
|
+
...register
|
|
86
86
|
}
|
|
87
87
|
),
|
|
88
88
|
!focus && /* @__PURE__ */ jsx(
|