react-ui-basics 0.0.179 → 0.0.180

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-ui-basics",
3
- "version": "0.0.179",
3
+ "version": "0.0.180",
4
4
  "description": "",
5
5
  "module": "index.js",
6
6
  "_main": "index.cjs.js",
@@ -379,7 +379,7 @@ class AutocompleteSelect extends PureComponent {
379
379
  onSelect = (selectedId) => {
380
380
  const {mode, required, allowCustom, onSelect, onChange, default: defaultValue} = __props(this);
381
381
  const {filterValue, selected: currentSelection} = __state(this);
382
- const {labels = {}} = __props(this);
382
+ const {labels = {}, onFilterInputChange} = __props(this);
383
383
 
384
384
  if (selectedId == null && (!!filterValue || !required) && allowCustom && (!this.input || !this.input.check()))
385
385
  selectedId = filterValue.trim();
@@ -429,6 +429,9 @@ class AutocompleteSelect extends PureComponent {
429
429
  errored,
430
430
  });
431
431
 
432
+ if (filterValueWithCustom !== filterValue)
433
+ orNoop(onFilterInputChange)(filterValueWithCustom)
434
+
432
435
  if (isActive && this.input)
433
436
  this.input.getInput().focus()
434
437