cr-ui-lib 1.1.37 → 1.1.39
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -2951,8 +2951,9 @@ var MultipleAutoSuggestionInput = ({
|
|
|
2951
2951
|
dropdownOpenClass = "",
|
|
2952
2952
|
selectedItemsClass = "",
|
|
2953
2953
|
removeIconClass = "",
|
|
2954
|
-
usePortal = true
|
|
2954
|
+
usePortal = true,
|
|
2955
2955
|
// ✅ Destructured prop with default true
|
|
2956
|
+
placeholder = "Type or select..."
|
|
2956
2957
|
}) => {
|
|
2957
2958
|
var _a;
|
|
2958
2959
|
const [filteredOptions, setFilteredOptions] = React.useState(options);
|
|
@@ -3198,7 +3199,7 @@ var MultipleAutoSuggestionInput = ({
|
|
|
3198
3199
|
setIsDropdownOpen(true);
|
|
3199
3200
|
}
|
|
3200
3201
|
},
|
|
3201
|
-
placeholder: selectedList.length === 0 ?
|
|
3202
|
+
placeholder: selectedList.length === 0 ? placeholder : ""
|
|
3202
3203
|
}
|
|
3203
3204
|
)
|
|
3204
3205
|
]
|