-
Notifications
You must be signed in to change notification settings - Fork 292
fix: distinguish non-submit form buttons #2769
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
Conversation
|
Size Change: +125 B (+0.01%) Total Size: 1.09 MB
ℹ️ View Unchanged
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2769 +/- ##
==========================================
- Coverage 81.28% 81.28% -0.01%
==========================================
Files 479 479
Lines 9521 9530 +9
Branches 2215 2217 +2
==========================================
+ Hits 7739 7746 +7
- Misses 1411 1413 +2
Partials 371 371 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
## [13.2.2](v13.2.1...v13.2.2) (2025-07-11) ### Bug Fixes * change MultipleAnswersField input element to type text ([#2761](#2761)) ([a590629](a590629)) * distinguish non-submit form buttons ([#2769](#2769)) ([bdc3c3e](bdc3c3e)) * ensure all message links are properly wrapped when sharing same root domain ([#2754](#2754)) ([adeb0e7](adeb0e7)) * focus textarea upon file input change event ([#2752](#2752)) ([22e0702](22e0702)) * forward error object to LoadingErrorIndicator in ChannelList ([#2768](#2768)) ([c014b1f](c014b1f)) * keep focused textarea when message composer state changes ([#2759](#2759)) ([e6d5a7f](e6d5a7f)) * make character composition possible in textarea ([#2762](#2762)) ([bbe09e5](bbe09e5)) * prevent querying thread draft when drafts are disabled ([#2767](#2767)) ([ff43179](ff43179)) * prevent setting unread UI state for channel non-members ([#2757](#2757)) ([952612a](952612a))
|
🎉 This PR is included in version 13.2.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎯 Goal
Fixes REACT-471
All the non-submit buttons should be marked as
type='button':https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/submit#using_submit_buttons
This change fixes the behavior where the submit handler is not invoked if the input types are not clearly distinguished.