grafana/ui: Button now specifies a default type="button" (Breaking Change)

The Button component provided by @grafana/ui now specifies a default type="button" when no type is provided.

In previous versions, if the attribute was not specified for buttons associated with a <form> the default value was submit per the specification

You can preserve the old behavior by explicitly setting the type attribute: <Button type="submit" />

Github Issue #41863.

1 Like