diff --git a/projects/design-angular-kit/src/lib/components/core/button/button.directive.ts b/projects/design-angular-kit/src/lib/components/core/button/button.directive.ts index 1170379a..9ef1dd7d 100644 --- a/projects/design-angular-kit/src/lib/components/core/button/button.directive.ts +++ b/projects/design-angular-kit/src/lib/components/core/button/button.directive.ts @@ -36,7 +36,17 @@ export class ItButtonDirective { * If button is disabled * @default false */ - @Input({ transform: inputToBoolean }) @HostBinding('disabled') disabled?: boolean; + @Input({ transform: inputToBoolean }) + @HostBinding('disabled') + disabled?: boolean; + + /** + * The type attribute + * @default button + */ + @Input() + @HostBinding('type') + type: 'button' | 'reset' | 'submit' = 'button'; /** * The icon children