Change the "Add condition" button in groups to type button to avoid form submission #2233
Reference in New Issue
Block a user
Delete Branch "fix-add-condition-submission"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Right now the "Add condition" button inside a condition group is submitting the form, which causes a few weird things to happen:
This PR ensures the button is
type: buttoninstead oftype: submitto avoid this submission.Fixes #2221