@povio/ui 3.4.0-rc.12 → 3.4.0-rc.13
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.
|
@@ -45,7 +45,7 @@ var SelectInput = (t0) => {
|
|
|
45
45
|
const { fieldState, isOpen, setIsOpen, selectableListItems, selectedItems, onChange, onClear, onRemove, isMultiple, multiSelectAutoConfirm, isLoading } = SelectContext.useSelect();
|
|
46
46
|
const isEmpty = selectedItems.length === 0;
|
|
47
47
|
const showTags = isMultiple && !isEmpty;
|
|
48
|
-
const showClearButton = !isDisabled && isClearable && (selectedItems.length > 0 || isSearchable && fieldState.inputValue !== "");
|
|
48
|
+
const showClearButton = (!isDisabled || isClearableIfDisabled === true) && isClearable && (selectedItems.length > 0 || isSearchable && fieldState.inputValue !== "");
|
|
49
49
|
let t3;
|
|
50
50
|
bb0: {
|
|
51
51
|
let t4;
|