apply type="button" on all buttons to make submit on enter work

This commit is contained in:
Jakob Ketterl
2021-03-03 23:25:00 +01:00
parent 3814200452
commit 4e14b29537
8 changed files with 13 additions and 13 deletions

View File

@@ -42,7 +42,7 @@ class Input(ABC):
input=input,
infotext=infotext,
removable="removable" if self.removable else "",
removebutton='<button class="btn btn-sm btn-danger option-remove-button">Remove</button>'
removebutton='<button type="button" class="btn btn-sm btn-danger option-remove-button">Remove</button>'
if self.removable
else "",
)