trotl-filter 1.0.11 → 1.0.12
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/dist/index.cjs.js +3 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -6994,7 +6994,8 @@ const MultiSelectDropdown = ({
|
|
|
6994
6994
|
pushUrlParamObj = false,
|
|
6995
6995
|
// pushUrlParamObj={"ids"}
|
|
6996
6996
|
addItem = undefined,
|
|
6997
|
-
style = {}
|
|
6997
|
+
style = {},
|
|
6998
|
+
allowClear = false
|
|
6998
6999
|
}) => {
|
|
6999
7000
|
const containerRef = useRef(null);
|
|
7000
7001
|
const [maxVisible, setMaxVisible] = useState(1);
|
|
@@ -7268,6 +7269,7 @@ const MultiSelectDropdown = ({
|
|
|
7268
7269
|
className: showRequiredError ? "select-required-error" : ""
|
|
7269
7270
|
}, /*#__PURE__*/React__default.createElement(StateManagedSelect$1, {
|
|
7270
7271
|
isMulti: isMulti,
|
|
7272
|
+
isClearable: allowClear,
|
|
7271
7273
|
options: menuOptions,
|
|
7272
7274
|
value: selectedOptions,
|
|
7273
7275
|
onChange: (val, action) => {
|