LearnNewsExamplesServices
Frontmatter
id2622
titlebutton.Base: type button attribute
stateClosed
labels
enhancement
assigneestobiu
createdAtJul 17, 2021, 7:50 PM
updatedAtJul 17, 2021, 7:50 PM
githubUrlhttps://github.com/neomjs/neo/issues/2622
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJul 17, 2021, 7:50 PM

button.Base: type button attribute

Closed v8.1.0 enhancement
tobiu
tobiu commented on Jul 17, 2021, 7:50 PM

I just noticed that hitting enter inside the Neo.calendar.view.EditEventContainer form 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.

tobiu added the enhancement label on Jul 17, 2021, 7:50 PM
tobiu assigned to @tobiu on Jul 17, 2021, 7:50 PM
tobiu referenced in commit e08ae22 - "button.Base: type button attribute #2622" on Jul 17, 2021, 7:50 PM
tobiu closed this issue on Jul 17, 2021, 7:50 PM