-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
fix(components): [collapse] fix triggering form action when inside it #14308
Conversation
When el-collapse with el-collapse-item is placed inside a form and the collapse trigger btn is pressed, form's action as triggered. This fixes it closed element-plus#14304
👋 @Karolis-Stoncius, thank you for contributing element-plus. |
Hello @Karolis-Stoncius, thank you for contributing to element-plus, please see our guideline to see how to make contribution |
🧪 Playground Preview: https://element-plus.run/?pr=14308 |
@ryuhangyeong when release with this fix? |
It is expected to be released within two weeks, but this is not exact. |
…element-plus#14308) When el-collapse with el-collapse-item is placed inside a form and the collapse trigger btn is pressed, form's action as triggered. This fixes it closed element-plus#14304
When el-collapse with el-collapse-item is placed inside a form and the collapse trigger btn is pressed, form's action as triggered. This fixes it
closed #14304
Please make sure these boxes are checked before submitting your PR, thank you!
dev
branch.Description
🤖 Generated by Copilot at 211e315
Added
type
attribute toel-button
incollapse-item
component to prevent form submission. This fixes a bug reported in issue #14304.Related Issue
Fixes #14304.
Explanation of Changes
🤖 Generated by Copilot at 211e315
type
attribute toel-button
component to prevent form submission on click (link)