@evergis/uilib-gl 1.0.111 → 1.0.112
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/dist/uilib-gl.esm.js +4 -1
- package/dist/uilib-gl.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/uilib-gl.esm.js
CHANGED
|
@@ -22159,8 +22159,11 @@ class AutoComplete extends Component {
|
|
|
22159
22159
|
options,
|
|
22160
22160
|
selected
|
|
22161
22161
|
} = this.props;
|
|
22162
|
+
const {
|
|
22163
|
+
selectedSuggestions
|
|
22164
|
+
} = this.state;
|
|
22162
22165
|
this.setState({
|
|
22163
|
-
selectedSuggestions: (selected == null ? void 0 : selected.map(item => (options == null ? void 0 : options.find(option => option.value === item)) || {
|
|
22166
|
+
selectedSuggestions: (selected == null ? void 0 : selected.map(item => (options == null ? void 0 : options.find(option => option.value === item)) || selectedSuggestions.find(option => option.value === item) || {
|
|
22164
22167
|
value: item,
|
|
22165
22168
|
text: item
|
|
22166
22169
|
})) || []
|