[doc] Adding the 'type' attribute description of <ButtonBase> #11683
Labels
component: ButtonBase
The React component.
docs
Improvements or additions to the documentation
good first issue
Great for first contributions. Enable to learn the contribution process.
In HTML, the default value of the
type
attribute of the<button>
tag is"submit"
, but in MDUI's<ButtonBase>
, the default value of thetype
attribute is"button"
, which results in no form submission behavior by default.This difference was confusing to me, although the
type
attribute of<ButtonBase>
can be specified, but the doc did not give instructions, I hope to add a description of thetype
attribute in the documentThe text was updated successfully, but these errors were encountered: