From 3af236e609cde6dff8c06be2a40e6c9b1c84a274 Mon Sep 17 00:00:00 2001 From: ralf Date: Mon, 4 Jul 2022 22:19:16 +0200 Subject: [PATCH] allow disabled=false for not disabled buttons --- api/js/etemplate/Et2Dialog/Et2DialogOverlay.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/js/etemplate/Et2Dialog/Et2DialogOverlay.ts b/api/js/etemplate/Et2Dialog/Et2DialogOverlay.ts index 60f8bfb16f..949190c5ea 100644 --- a/api/js/etemplate/Et2Dialog/Et2DialogOverlay.ts +++ b/api/js/etemplate/Et2Dialog/Et2DialogOverlay.ts @@ -258,10 +258,10 @@ export class Et2DialogOverlay extends SlotMixin(LitElement) label=${button.label} .image=${ifDefined(button.image)} .noSubmit=${true} - disabled=${ifDefined(button.disabled)} + ?disabled=${button.disabled} align=${ifDefined(button.align)}> ` })}`; } -} +} \ No newline at end of file