Fix missing calendar participant + button

set_readonly() was missing, getWindowTitle() was using .options.value instead of get_value()
This commit is contained in:
nathan 2021-12-07 13:35:25 -07:00
parent 057c5bf6f7
commit 50f4b5cd47
2 changed files with 610 additions and 497 deletions

View File

@ -71,11 +71,13 @@ const Et2InputWidgetMixin = (superclass) =>
super(...args); super(...args);
} }
connectedCallback() connectedCallback()
{ {
super.connectedCallback(); super.connectedCallback();
this.node = this.getInputNode(); this.node = this.getInputNode();
} }
set_value(new_value) set_value(new_value)
{ {
this.value = new_value; this.value = new_value;
@ -86,6 +88,11 @@ const Et2InputWidgetMixin = (superclass) =>
return this.getValue(); return this.getValue();
} }
set_readonly(new_value)
{
this.readonly = this.readOnly = new_value;
}
getValue() getValue()
{ {
return typeof this.serializedValue !== "undefined" ? this.serializedValue : this.modalValue; return typeof this.serializedValue !== "undefined" ? this.serializedValue : this.modalValue;

File diff suppressed because it is too large Load Diff