Skip to content

All the buttons that are used inside components should have type="button" #1256

@kotAPI

Description

@kotAPI

There's no need for us to use default type here, we have to explicitly mention all the triggers in our components are of type=button

If this isn't handled properly, when the components are used inside a form and are clicked end up submitting the form - we need to audit all our components to follow this rule - maybe having a reusable component for such cases can help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions