Add missing set_disabled() method

This commit is contained in:
nathan 2021-09-14 11:50:10 -06:00
parent 3c7da204c5
commit 442de20d90

View File

@ -186,6 +186,16 @@ const Et2WidgetMixin = (superClass) =>
} }
} }
/**
* Wrapper on this.disabled because legacy had it.
*
* @param {boolean} value
*/
set_disabled(value : boolean)
{
this.disabled = value;
}
set label(value : string) set label(value : string)
{ {
let oldValue = this.label; let oldValue = this.label;