lisichatbot 1.4.8 → 1.4.9
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/package.json +1 -1
- package/src/index.js +4 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -279,6 +279,10 @@ function renderMultiSelectDropdown(options, field) {
|
|
|
279
279
|
optionTemplate.remove();
|
|
280
280
|
tagTemplate.remove();
|
|
281
281
|
|
|
282
|
+
// ✅ NEW: Hide dropdown options wrapper initially
|
|
283
|
+
optionsWrapper.style.display = 'none';
|
|
284
|
+
console.log(' 🙈 Dropdown options wrapper hidden initially');
|
|
285
|
+
|
|
282
286
|
// ✅ Get existing data for pre-filling (edit mode)
|
|
283
287
|
const existingData = chatState.data[field] || [];
|
|
284
288
|
const selectedValues = new Set(existingData);
|