Skip to content

button type #157

Closed
Closed
@Mottie

Description

@Mottie

This is an enhancement request to add a warning when a button element is inside a form and does not have a set type attribute.

As you may already know, if a <button> does not have a set or invalid type attribute, the type defaults to submit (ref). Activating that button will submit the form and may not produce the desired effect.

Metadata

Metadata

Assignees

Labels

PR neededfeature requestFunctionality that introduces a new featurehelp wantedWe are looking for community helpkeep-unstaleThe issue will not be marked as stale by the stale-bot

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions