@prof-dev/improved-select
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -213,3 +213,4 @@ "use strict"; | ||
if (this.defaultSelection.length === 0 && | ||
this.select.options.length > 0) { | ||
this.select.options.length > 0 && | ||
this.select.multiple === false) { | ||
this.defaultSelection.push(0); | ||
@@ -216,0 +217,0 @@ } |
{ | ||
"name": "@prof-dev/improved-select", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Helper for live clicks events management", | ||
@@ -11,2 +11,3 @@ "main": "lib/ImprovedSelect.js", | ||
"build": "npm run clean && tsc && npm run sass", | ||
"build:only": "tsc && npm run sass", | ||
"clean": "rimraf lib/*" | ||
@@ -38,2 +39,2 @@ }, | ||
} | ||
} | ||
} |
@@ -91,3 +91,4 @@ import { EventEmitter } from "@prof-dev/event-emitter"; | ||
this.defaultSelection.length === 0 && | ||
this.select.options.length > 0 | ||
this.select.options.length > 0 && | ||
this.select.multiple === false | ||
) { | ||
@@ -94,0 +95,0 @@ this.defaultSelection.push(0); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12
82029
1438