Skip to content
Snippets Groups Projects
Commit 929c3c75 authored by Albert Bruns's avatar Albert Bruns
Browse files

OZG-7974 button type submit

parent 2d8e5b09
No related branches found
No related tags found
1 merge request!116OZG-7974-Validierung-onSubmit
...@@ -104,8 +104,8 @@ export type ButtonVariants = VariantProps<typeof buttonVariants>; ...@@ -104,8 +104,8 @@ export type ButtonVariants = VariantProps<typeof buttonVariants>;
selector: 'ods-button', selector: 'ods-button',
standalone: true, standalone: true,
imports: [CommonModule, SpinnerIconComponent], imports: [CommonModule, SpinnerIconComponent],
template: `<button template: ` <button
type="button" type="submit"
[ngClass]="buttonVariants({ size, variant, disabled: isDisabled, destructive })" [ngClass]="buttonVariants({ size, variant, disabled: isDisabled, destructive })"
[attr.aria-disabled]="isDisabled" [attr.aria-disabled]="isDisabled"
[attr.aria-label]="text" [attr.aria-label]="text"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment