I have a dialog which contains form in body and save and cancel buttons in footer. the form in the body section contains binder which is mapped with input fields. I want to validate the binder and save on button click. How to call save to child component ?
render() {
return html`
<vaadin-dialog
header-title="Create new request"
.opened="${this.opened}"
@opened-changed="${(e: CustomEvent) => (this.opened = e.detail.value)}"
${dialogRenderer(() => html`<create-request-form></create-request-form>`)}
${dialogFooterRenderer(this.renderFooter)}>
</vaadin-dialog>
`;
}