diff --git a/package.json b/package.json index c1692f3..7300825 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tp/tp-checkbox", - "version": "1.0.5", + "version": "1.0.6", "description": "", "main": "tp-checkbox.js", "scripts": { diff --git a/tp-checkbox.js b/tp-checkbox.js index 22b9ca2..9192676 100644 --- a/tp-checkbox.js +++ b/tp-checkbox.js @@ -118,7 +118,7 @@ class TpCheckbox extends Inert(ControlState(FormElement(LitElement))) { } set value(val) { - this._value = val; + this._value = val || ''; } }