arengibook 2.4.704 → 2.4.705
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 +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39976,6 +39976,13 @@ var MultiSelect = function MultiSelect(props) {
|
|
|
39976
39976
|
useEffect(function () {
|
|
39977
39977
|
var observer = new MutationObserver(function () {
|
|
39978
39978
|
var labelElement = document.querySelector('.p-multiselect-label');
|
|
39979
|
+
if (labelElement) {
|
|
39980
|
+
console.log('labelElement');
|
|
39981
|
+
console.log(labelElement);
|
|
39982
|
+
console.log(labelElement.textContent);
|
|
39983
|
+
console.log(placeholder);
|
|
39984
|
+
console.log("placeholder");
|
|
39985
|
+
}
|
|
39979
39986
|
if (labelElement && labelElement.textContent === 'empty') {
|
|
39980
39987
|
labelElement.textContent = placeholder;
|
|
39981
39988
|
}
|
|
@@ -39987,7 +39994,7 @@ var MultiSelect = function MultiSelect(props) {
|
|
|
39987
39994
|
return function () {
|
|
39988
39995
|
observer.disconnect();
|
|
39989
39996
|
};
|
|
39990
|
-
}, [
|
|
39997
|
+
}, []);
|
|
39991
39998
|
var optionTemplate = function optionTemplate(option) {
|
|
39992
39999
|
if (!option) return null;
|
|
39993
40000
|
if (isSelectMeta) {
|