sag_components 1.0.598 → 1.0.599
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.
|
@@ -35,7 +35,6 @@ const Dropdown = _ref => {
|
|
|
35
35
|
size,
|
|
36
36
|
text,
|
|
37
37
|
shape,
|
|
38
|
-
autoComplete,
|
|
39
38
|
placeHolder,
|
|
40
39
|
multiSelect,
|
|
41
40
|
showPopupIcon,
|
|
@@ -167,10 +166,6 @@ const Dropdown = _ref => {
|
|
|
167
166
|
|
|
168
167
|
// --------------------------------------- DROPDOWN SINGLE --------------------------------
|
|
169
168
|
const getAutocompleteSingle = () => {
|
|
170
|
-
if (!autoComplete) {
|
|
171
|
-
// Return null or any other placeholder if autoComplete is false
|
|
172
|
-
return null;
|
|
173
|
-
}
|
|
174
169
|
return /*#__PURE__*/_react.default.createElement(_styles.ThemeProvider, {
|
|
175
170
|
theme: theme
|
|
176
171
|
}, /*#__PURE__*/_react.default.createElement(_Autocomplete.default, {
|
|
@@ -182,7 +177,6 @@ const Dropdown = _ref => {
|
|
|
182
177
|
onInputChangeHandler(event, newInputValue);
|
|
183
178
|
},
|
|
184
179
|
disabled: disabled,
|
|
185
|
-
autoComplete: autoComplete,
|
|
186
180
|
disablePortal: true,
|
|
187
181
|
disableClearable: disableClearable,
|
|
188
182
|
defaultValue: defaultValue,
|