material-web
material-web copied to clipboard
Add button type property in mwc-button
Issue: Button type submit #205
Related to #289
Related to #289
@dfreedm I know that is related to the form submit ticket, but why should that block adding this feature?
What does adding this feature without custom element form submission accomplish?
An <mwc-button type="submit"> inside a <form> element will not submit it. I'd be cautious about adding type="submit" which could imply to users that form submission works when it doesn't.
Makes sense @asyncLiz, thanks. We'll need to wait on the result of #289
Closing as obsolete
The type attribute wasn't added to button? Is it resolved in some other way?
Sorry about that! Was going through and cleaning up a lot of old issues :)
would it make sense to rebase this PR and try to get it ready to merge?
would it make sense to rebase this PR and try to get it ready to merge?
If you can rebase it for MWC (skip M3), I'll review it :)
Obsolete with M3. See https://github.com/material-components/material-web/issues/3941 for upcoming support