Is it possible to assign a type value to a Lightning button? For example,
<lightning:button variant="base" label="Base" title="Base action" />
I have a submit button in a form, and default behavior for
type="submit" is the form can be submitted on keyboard Enter. Can I add the
type attribute to the component?