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

IxButton with type submit does not works on second click #1646

Closed
2 tasks done
TDaniel-evo opened this issue Jan 15, 2025 · 2 comments
Closed
2 tasks done

IxButton with type submit does not works on second click #1646

TDaniel-evo opened this issue Jan 15, 2025 · 2 comments
Labels
type: bug Something isn't working Workflow: Issue created JIRA issue is created and will be analyzed

Comments

@TDaniel-evo
Copy link

TDaniel-evo commented Jan 15, 2025

Prerequisites

  • I have read the Contributing Guidelines.
  • I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.

What happened?

I have a form in my react application and it has an onSubmit event listener. When I click on the submit IxButton the first time then the submit event gets fired and the form gets submitted. After this when I click the submit IxButton the second time the submit event does not gets fired and nothing happens. I would like the form to get submitted for the second click as well.

If I use plain html submit button it works fine.

See: https://stackblitz.com/edit/vitejs-vite-hz4dmfvw?file=package.json,src%2FApp.tsx&terminal=dev

What type of frontend framework are you seeing the problem on?

React

Which version of iX do you use?

2.6.0

Code to produce this issue.

See the stackblitz link in the description ☝
@TDaniel-evo TDaniel-evo added the triage We discuss this topic in our internal weekly label Jan 15, 2025
@matthiashader matthiashader added type: bug Something isn't working Workflow: Issue created JIRA issue is created and will be analyzed and removed triage We discuss this topic in our internal weekly labels Jan 16, 2025
Copy link
Contributor

github-actions bot commented Jan 16, 2025

🤖 Hello @TDaniel-evo

Your issue will be analyzed and is part of our internal workflow.
To get informed about our workflow please checkout the Contributing Guidelines

JIRA: IX-2291

@danielleroux
Copy link
Collaborator

Closed by #1687

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working Workflow: Issue created JIRA issue is created and will be analyzed
Projects
None yet
Development

No branches or pull requests

3 participants