Skip to content
Snippets Groups Projects
  • rhenck's avatar
    f0c4d69d
    Refactor button element to stop preventing event bubbling · f0c4d69d
    rhenck authored
    The problem that was to be solved is that buttons within a form always 
    cause form validation for all form elements. Which is not wanted here.
    The better solution than preventing all event is to simply declare the 
    button type. As button without any type are treated as submit buttons.
    f0c4d69d
    History
    Refactor button element to stop preventing event bubbling
    rhenck authored
    The problem that was to be solved is that buttons within a form always 
    cause form validation for all form elements. Which is not wanted here.
    The better solution than preventing all event is to simply declare the 
    button type. As button without any type are treated as submit buttons.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.