web/elements: fix top-right dialog close button not resetting form
closes #2990 Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -117,7 +117,10 @@ export class ModalButton extends LitElement { | ||||
|                     aria-modal="true" | ||||
|                 > | ||||
|                     <button | ||||
|                         @click=${() => (this.open = false)} | ||||
|                         @click=${() => { | ||||
|                             this.resetForms(); | ||||
|                             this.open = false; | ||||
|                         }} | ||||
|                         class="pf-c-button pf-m-plain" | ||||
|                         type="button" | ||||
|                         aria-label="Close dialog" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer