@lemonadejs/dropdown 3.1.1 → 3.1.2
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 +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -373,6 +373,8 @@ if (!Modal && typeof (require) === 'function') {
|
|
|
373
373
|
const updateLabel = function() {
|
|
374
374
|
if (value && value.length) {
|
|
375
375
|
self.input.textContent = value.filter(v => v.selected).map(i => i.text).join('; ');
|
|
376
|
+
} else {
|
|
377
|
+
self.input.textContent = '';
|
|
376
378
|
}
|
|
377
379
|
}
|
|
378
380
|
|
package/package.json
CHANGED