Make sure _value is correct after reset was called.

This commit is contained in:
trading_peter 2023-03-13 14:28:45 +01:00
parent b17f9b4aec
commit 6426802d18
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -118,7 +118,7 @@ class TpCheckbox extends Inert(ControlState(FormElement(LitElement))) {
}
set value(val) {
this._value = val;
this._value = val || '';
}
}