arengibook 2.4.705 → 2.4.706
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.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39892,6 +39892,8 @@ var MultiSelect = function MultiSelect(props) {
|
|
|
39892
39892
|
objValue = _props$objValue === void 0 ? null : _props$objValue,
|
|
39893
39893
|
_props$placeholder = props.placeholder,
|
|
39894
39894
|
placeholder = _props$placeholder === void 0 ? 'Sélectionnez des options' : _props$placeholder,
|
|
39895
|
+
_props$multipleplaceh = props.multipleplaceholder,
|
|
39896
|
+
multipleplaceholder = _props$multipleplaceh === void 0 ? "Veuillez sélectionner des options" : _props$multipleplaceh,
|
|
39895
39897
|
_props$disabled = props.disabled,
|
|
39896
39898
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
39897
39899
|
_props$filter = props.filter,
|
|
@@ -39974,6 +39976,8 @@ var MultiSelect = function MultiSelect(props) {
|
|
|
39974
39976
|
};
|
|
39975
39977
|
}, []);
|
|
39976
39978
|
useEffect(function () {
|
|
39979
|
+
console.log(multipleplaceholder);
|
|
39980
|
+
console.log(placeholder);
|
|
39977
39981
|
var observer = new MutationObserver(function () {
|
|
39978
39982
|
var labelElement = document.querySelector('.p-multiselect-label');
|
|
39979
39983
|
if (labelElement) {
|
|
@@ -39994,7 +39998,7 @@ var MultiSelect = function MultiSelect(props) {
|
|
|
39994
39998
|
return function () {
|
|
39995
39999
|
observer.disconnect();
|
|
39996
40000
|
};
|
|
39997
|
-
}, []);
|
|
40001
|
+
}, [multipleplaceholder]);
|
|
39998
40002
|
var optionTemplate = function optionTemplate(option) {
|
|
39999
40003
|
if (!option) return null;
|
|
40000
40004
|
if (isSelectMeta) {
|