@plasmicpkgs/react-aria 0.0.19 → 0.0.21

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.
@@ -960,6 +960,9 @@ function BaseComboBox(props) {
960
960
  const disabledKeys = flattenedOptions.filter((op) => op.isDisabled).map((op) => op.value);
961
961
  const onSelectionChange = React__default.default.useCallback(
962
962
  (key) => {
963
+ if (key === null) {
964
+ return;
965
+ }
963
966
  const selectedOption = flattenedOptions == null ? void 0 : flattenedOptions.find((op) => op.value === key);
964
967
  if (valueType === "text") {
965
968
  if (selectedOption) {