Frontmatter
| id | 2622 |
| title | button.Base: type button attribute |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jul 17, 2021, 7:50 PM |
| updatedAt | Jul 17, 2021, 7:50 PM |
| githubUrl | https://github.com/neomjs/neo/issues/2622 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jul 17, 2021, 7:50 PM |
I just noticed that hitting enter inside the
Neo.calendar.view.EditEventContainerform container title field triggered the action of the delete button.Buttons are not supposed to submit forms on their own, so adding a
type="button"dom attribute feels like a reasonable fix.