From 11a06bb073940aa7efa04385b3aa11c2d7865036 Mon Sep 17 00:00:00 2001 From: pk Date: Mon, 19 Aug 2024 22:09:03 +0200 Subject: [PATCH] Call super methods --- package.json | 2 +- tp-number-input.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 28da72f..3bd3e10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tp/tp-number-input", - "version": "1.0.0", + "version": "1.0.1", "description": "", "main": "tp-number-input.js", "scripts": { diff --git a/tp-number-input.js b/tp-number-input.js index 8e79f84..72bc845 100644 --- a/tp-number-input.js +++ b/tp-number-input.js @@ -122,12 +122,16 @@ class TpNumberInput extends FormElement(EventHelpers(DomQuery(LitElement))) { } firstUpdated() { + super.firstUpdated(); + this.listen(this, 'click', '_onTap'); this.listen(this.$.innerInput, 'blur', '_onBlur'); this.listen(this.$.innerInput, 'keydown', '_onKey'); } updated(changes) { + super.updated(); + if (changes.has('timeMode')) { this._timeModeChanged(); }