You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a component containing a button element such as the Actions or ActionButton component inside a form, clicking/activating the component results in the form being submitted and the page refreshing. This is undesirable and unintuitive behaviour with the use of components as an abstraction layer as form submission may be handled more explicitly. A potential solution would be to add type="button" to all button elements, though this may be a breaking change.
When using a component containing a button element such as the Actions or ActionButton component inside a form, clicking/activating the component results in the form being submitted and the page refreshing. This is undesirable and unintuitive behaviour with the use of components as an abstraction layer as form submission may be handled more explicitly. A potential solution would be to add
type="button"
to all button elements, though this may be a breaking change.MDN documentation
The text was updated successfully, but these errors were encountered: