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.cjs.js
CHANGED
|
@@ -7014,7 +7014,8 @@ const MultiSelectDropdown = ({
|
|
|
7014
7014
|
pushUrlParamObj = false,
|
|
7015
7015
|
// pushUrlParamObj={"ids"}
|
|
7016
7016
|
addItem = undefined,
|
|
7017
|
-
style = {}
|
|
7017
|
+
style = {},
|
|
7018
|
+
allowClear = false
|
|
7018
7019
|
}) => {
|
|
7019
7020
|
const containerRef = React.useRef(null);
|
|
7020
7021
|
const [maxVisible, setMaxVisible] = React.useState(1);
|
|
@@ -7288,6 +7289,7 @@ const MultiSelectDropdown = ({
|
|
|
7288
7289
|
className: showRequiredError ? "select-required-error" : ""
|
|
7289
7290
|
}, /*#__PURE__*/React.createElement(StateManagedSelect$1, {
|
|
7290
7291
|
isMulti: isMulti,
|
|
7292
|
+
isClearable: allowClear,
|
|
7291
7293
|
options: menuOptions,
|
|
7292
7294
|
value: selectedOptions,
|
|
7293
7295
|
onChange: (val, action) => {
|