Fixes readonly.

This commit is contained in:
Peter Kaske
2022-04-04 16:52:51 +02:00
parent 957ce8c03d
commit a0b086b54b
2 changed files with 5 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@tp/tp-input", "name": "@tp/tp-input",
"version": "1.0.5", "version": "1.0.6",
"description": "", "description": "",
"main": "tp-input.js", "main": "tp-input.js",
"scripts": { "scripts": {

View File

@@ -230,6 +230,10 @@ class TpInput extends BaseElement {
if (changes.has('value')) { if (changes.has('value')) {
this._syncValue(); this._syncValue();
} }
if (changes.has('readonly')) {
this._syncReadonly();
}
} }
get _equalToTarget() { get _equalToTarget() {