Make sure _value is correct after reset was called.
This commit is contained in:
parent
b17f9b4aec
commit
6426802d18
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tp/tp-checkbox",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"description": "",
|
||||
"main": "tp-checkbox.js",
|
||||
"scripts": {
|
||||
|
@ -118,7 +118,7 @@ class TpCheckbox extends Inert(ControlState(FormElement(LitElement))) {
|
||||
}
|
||||
|
||||
set value(val) {
|
||||
this._value = val;
|
||||
this._value = val || '';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user