web/elements: delegate requestUpdate in proxyform
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -25,6 +25,12 @@ export class ProxyForm extends Form<unknown> { | |||||||
|         return (this.shadowRoot?.firstElementChild as Form<unknown>).getSuccessMessage(); |         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 { |     renderVisible(): TemplateResult { | ||||||
|         let elementName = this.type; |         let elementName = this.type; | ||||||
|         if (this.type in this.typeMap) { |         if (this.type in this.typeMap) { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer