jb-select 4.1.2 → 4.1.3

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/lib/JBSelect.ts +12 -12
  2. package/package.json +1 -1
package/lib/JBSelect.ts CHANGED
@@ -313,18 +313,18 @@ export class JBSelectWebComponent extends HTMLElement {
313
313
 
314
314
  }
315
315
  blur() {
316
- // this.elements.componentWrapper.classList.remove('--focused');
317
- // this.textValue = "";
318
- // this.handleSelectedValueDisplay('');
319
- // this.hideOptionList();
320
- // this.triggerInputValidation();
321
- // if(this.isMobileDevice){
322
- // if(this.value){
323
- // this.elements.input.placeholder = "";
324
- // }else{
325
- // this.elements.input.placeholder = this.placeholder;
326
- // }
327
- // }
316
+ this.elements.componentWrapper.classList.remove('--focused');
317
+ this.textValue = "";
318
+ this.handleSelectedValueDisplay('');
319
+ this.hideOptionList();
320
+ this.triggerInputValidation();
321
+ if(this.isMobileDevice){
322
+ if(this.value){
323
+ this.elements.input.placeholder = "";
324
+ }else{
325
+ this.elements.input.placeholder = this.placeholder;
326
+ }
327
+ }
328
328
  }
329
329
  showOptionList() {
330
330
  this.elements.optionListWrapper.classList.add('--show');
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "select",
13
13
  "web component"
14
14
  ],
15
- "version": "4.1.2",
15
+ "version": "4.1.3",
16
16
  "bugs": "https://github.com/javadbat/jb-select/issues",
17
17
  "license": "MIT",
18
18
  "files": [