Api: We also need to trigger LitElement update when we change it here, I guess.

Fixes disabled attribute didn't change when set_disabled() was called.
This commit is contained in:
nathan 2022-01-12 13:55:58 -07:00
parent 12120b5434
commit 19a2b13974

View File

@ -268,7 +268,9 @@ const Et2WidgetMixin = (superClass) =>
*/
set_disabled(value : boolean)
{
let oldValue = this.disabled;
this.disabled = value;
this.requestUpdate("disabled", oldValue);
}
/**