Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

button-directive: type button is missing #13748

Closed
ProfEibe opened this issue Sep 26, 2023 · 1 comment
Closed

button-directive: type button is missing #13748

ProfEibe opened this issue Sep 26, 2023 · 1 comment
Labels
Resolution: Wontfix Issue will not be fixed due to technical limitations

Comments

@ProfEibe
Copy link

ProfEibe commented Sep 26, 2023

Describe the bug

using the button directive, the type of the html button is not set to button, it is default submit and has a different behaviour than its counterpart p-button

Environment

angular and primeng 16

Reproducer

No response

Angular version

16.2.4

PrimeNG version

16.3.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.16.1

Browser(s)

Chrome

Expected behavior

It should set type to "button" when using the button directive

@ProfEibe ProfEibe added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 26, 2023
@cetincakiroglu
Copy link
Contributor

You can set type by html. The directive lets you free to set any attribute that you want to the button.
See the example: https://stackblitz.com/edit/dupzpk?file=src%2Fapp%2Fdemo%2Fbutton-directive-demo.html

Closing the issue since it's not a bug, enhancement or feature request.

@cetincakiroglu cetincakiroglu added Resolution: Wontfix Issue will not be fixed due to technical limitations and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Wontfix Issue will not be fixed due to technical limitations
Projects
None yet
Development

No branches or pull requests

2 participants