web/elements: delegate requestUpdate in proxyform
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
c659e40df7
commit
0aa21c007a
|
@ -25,6 +25,12 @@ export class ProxyForm extends Form<unknown> {
|
|||
return (this.shadowRoot?.firstElementChild as Form<unknown>).getSuccessMessage();
|
||||
}
|
||||
|
||||
async requestUpdate(name?: PropertyKey | undefined, oldValue?: unknown): Promise<unknown> {
|
||||
const result = await super.requestUpdate(name, oldValue);
|
||||
await (this.shadowRoot?.firstElementChild as Form<unknown> | undefined)?.requestUpdate();
|
||||
return result;
|
||||
}
|
||||
|
||||
renderVisible(): TemplateResult {
|
||||
let elementName = this.type;
|
||||
if (this.type in this.typeMap) {
|
||||
|
|
Reference in New Issue