@rc-component/select 1.2.0-alpha.3 → 1.2.1
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/es/SelectInput/Input.js
CHANGED
|
@@ -24,6 +24,7 @@ const Input = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
24
24
|
onInputBlur,
|
|
25
25
|
autoFocus,
|
|
26
26
|
tokenWithEnter,
|
|
27
|
+
placeholder,
|
|
27
28
|
components: {
|
|
28
29
|
input: InputComponent = 'input'
|
|
29
30
|
}
|
|
@@ -186,6 +187,7 @@ const Input = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
186
187
|
|
|
187
188
|
// Start with shared props as base
|
|
188
189
|
const mergedProps = {
|
|
190
|
+
placeholder: props.placeholder || placeholder,
|
|
189
191
|
...sharedInputProps,
|
|
190
192
|
...existingProps
|
|
191
193
|
};
|
package/lib/SelectInput/Input.js
CHANGED
|
@@ -33,6 +33,7 @@ const Input = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
33
33
|
onInputBlur,
|
|
34
34
|
autoFocus,
|
|
35
35
|
tokenWithEnter,
|
|
36
|
+
placeholder,
|
|
36
37
|
components: {
|
|
37
38
|
input: InputComponent = 'input'
|
|
38
39
|
}
|
|
@@ -195,6 +196,7 @@ const Input = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
195
196
|
|
|
196
197
|
// Start with shared props as base
|
|
197
198
|
const mergedProps = {
|
|
199
|
+
placeholder: props.placeholder || placeholder,
|
|
198
200
|
...sharedInputProps,
|
|
199
201
|
...existingProps
|
|
200
202
|
};
|