@homebound/beam 2.336.0 → 2.337.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.
@@ -201,7 +201,11 @@ function TreeSelectFieldBase(props) {
201
201
  }
202
202
  if (isOpen) {
203
203
  // reset the input field to allow the user to start typing to filter
204
- setFieldState((prevState) => ({ ...prevState, inputValue: "" }));
204
+ setFieldState((prevState) => ({
205
+ ...prevState,
206
+ inputValue: "",
207
+ filteredOptions: initialOptions.flatMap((o) => levelOptions(o, 0)),
208
+ }));
205
209
  }
206
210
  }
207
211
  // This is _always_ going to appear new. Maybe `useMemo`?
@@ -179,6 +179,7 @@ function ComboBoxBase(props) {
179
179
  else {
180
180
  setFieldState((prevState) => ({
181
181
  ...prevState,
182
+ searchValue: "",
182
183
  inputValue: getInputValue(selectedOptions, getOptionLabel, multiselect, nothingSelectedText, isReadOnly),
183
184
  }));
184
185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homebound/beam",
3
- "version": "2.336.0",
3
+ "version": "2.337.1",
4
4
  "author": "Homebound",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -78,7 +78,7 @@
78
78
  "@homebound/eslint-config": "^1.10.2",
79
79
  "@homebound/rtl-react-router-utils": "1.0.3",
80
80
  "@homebound/rtl-utils": "^2.65.0",
81
- "@homebound/truss": "^1.132.0",
81
+ "@homebound/truss": "^1.133.0",
82
82
  "@homebound/tsconfig": "^1.0.3",
83
83
  "@semantic-release/exec": "^6.0.3",
84
84
  "@semantic-release/git": "^10.0.1",