@lemonadejs/dropdown 3.1.0 → 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.
Files changed (2) hide show
  1. package/dist/index.js +2 -0
  2. package/package.json +2 -2
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
@@ -15,9 +15,9 @@
15
15
  ],
16
16
  "dependencies": {
17
17
  "lemonadejs": "^4.0.7",
18
- "@lemonadejs/modal": "^2.6.1"
18
+ "@lemonadejs/modal": "^2.7.1"
19
19
  },
20
20
  "main": "dist/index.js",
21
21
  "types": "dist/index.d.ts",
22
- "version": "3.1.0"
22
+ "version": "3.1.2"
23
23
  }