@aquera/nile-elements 0.0.54 → 0.0.56

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 CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "0.0.54",
6
+ "version": "0.0.56",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -281,6 +281,7 @@ export class NileInput extends NileElement implements NileFormControl {
281
281
  }
282
282
 
283
283
  firstUpdated() {
284
+ this.emit('nile-after-init');
284
285
  this.formControlController.updateValidity();
285
286
  }
286
287
 
@@ -307,6 +308,11 @@ export class NileInput extends NileElement implements NileFormControl {
307
308
  private handleFocus() {
308
309
  this.hasFocus = true;
309
310
  this.emit('nile-focus', { value: this.value });
311
+
312
+ if(this.checkNonPrintableChar){
313
+ this.markNonPrintableCharacters();
314
+ }
315
+
310
316
  }
311
317
 
312
318
  private handleInput() {