carbon-react 126.5.0 → 126.5.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.
|
@@ -126,11 +126,11 @@ const FilterableSelect = /*#__PURE__*/React.forwardRef(({
|
|
|
126
126
|
triggerChange("", false);
|
|
127
127
|
return "";
|
|
128
128
|
}
|
|
129
|
+
triggerChange(match.props.value, false);
|
|
129
130
|
if (isDeleteEvent) {
|
|
130
131
|
setTextValue(newFilterText);
|
|
131
132
|
return match.props.value;
|
|
132
133
|
}
|
|
133
|
-
triggerChange(match.props.value, false);
|
|
134
134
|
if (match.props.text?.toLowerCase().startsWith(newFilterText.toLowerCase())) {
|
|
135
135
|
setTextValue(match.props.text);
|
|
136
136
|
} else {
|
|
@@ -135,11 +135,11 @@ const FilterableSelect = exports.FilterableSelect = /*#__PURE__*/_react.default.
|
|
|
135
135
|
triggerChange("", false);
|
|
136
136
|
return "";
|
|
137
137
|
}
|
|
138
|
+
triggerChange(match.props.value, false);
|
|
138
139
|
if (isDeleteEvent) {
|
|
139
140
|
setTextValue(newFilterText);
|
|
140
141
|
return match.props.value;
|
|
141
142
|
}
|
|
142
|
-
triggerChange(match.props.value, false);
|
|
143
143
|
if (match.props.text?.toLowerCase().startsWith(newFilterText.toLowerCase())) {
|
|
144
144
|
setTextValue(match.props.text);
|
|
145
145
|
} else {
|