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

Stepper: Clicking on the stepper header will submit form #6462

Closed
espezaliate opened this issue Apr 24, 2024 · 2 comments · Fixed by #6463 or leoo1992/GeradorQRCode#23
Closed

Stepper: Clicking on the stepper header will submit form #6462

espezaliate opened this issue Apr 24, 2024 · 2 comments · Fixed by #6463 or leoo1992/GeradorQRCode#23
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@espezaliate
Copy link
Contributor

Describe the bug

When using the Stepper component wrapped in a form, clicking the StepperHeader will submit the form.

Reproducer

No response

PrimeReact version

10.6.3

React version

17.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

Wrap Stepper component in a form component, create enough StepperPanels to view StepperHeader. If clicked it will submit the form.

Expected behavior

The form should not be submitted when switching steps

@espezaliate espezaliate added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 24, 2024
@espezaliate
Copy link
Contributor Author

proposed fix: #6463

@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Apr 24, 2024
@melloware melloware added this to the 10.6.4 milestone Apr 24, 2024
@melloware
Copy link
Member

LGTM i asked PrimeTek to reivew.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
2 participants