Skip to content

Commit 9d565b3

Browse files
rammi987Lucas Bach Bisgaard
andauthored
Add support type attr. on button (#1128)
Co-authored-by: Lucas Bach Bisgaard <[email protected]>
1 parent 53475b5 commit 9d565b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/uui-button/lib/uui-button.element.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ export class UUIButtonElement extends UUIFormControlMixin(
251251
: html`
252252
<button
253253
id="button"
254+
type=${this.type}
254255
?disabled=${this.disabled}
255256
aria-label=${ifDefined(this.label)}>
256257
${this.renderState()} ${this.renderLabel()}

0 commit comments

Comments
 (0)