Skip to content

Doc.ValidateButton reloads the page. Not consistent behaviour with Doc.Button #3

@semuserable

Description

@semuserable

I assumed that Doc.ValidateButton works as Doc.Button from UI.Next, but I was wrong. It constantly updates the page after click event. I resolved the problem adding the following attribute attr.``type`` "button". Was this behaviour made intentionally?

UPDATE

Ok, I understand that <button> defaults to submit type when placed in form. Nonetheless, maybe to explicitly add type='button'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions