ButtonComponent currently hardcodes the native button type attribute to "button" and does not provide any way for consumers to override it.
This prevents the component from being used in standard form submission flows where type="submit" is required.
As there already is a type input property used for styling definition, it will need to use some other name for backward compatibility.
ButtonComponent currently hardcodes the native button
typeattribute to"button"and does not provide any way for consumers to override it.This prevents the component from being used in standard form submission flows where
type="submit"is required.As there already is a
typeinput property used for styling definition, it will need to use some other name for backward compatibility.