Add missing 'invalid' property.

This commit is contained in:
trading_peter 2023-02-23 22:38:58 +01:00
parent d8d6b6f01f
commit 33214cb38b
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@tp/tp-dropdown",
"version": "1.3.1",
"version": "1.3.2",
"description": "",
"main": "tp-dropdown.js",
"scripts": {

View File

@ -283,6 +283,7 @@ class TpDropdown extends BaseElement {
autoExtend: { type: Boolean, },
focused: { type: Boolean, reflect: true, },
readonly: { type: Boolean, reflect: true },
invalid: { type: Boolean, reflect: true },
/*
* Stores the first known value of the `value` property that is not falsy.
* If `items` changes and no longer holds the originally selected item,