Skip to content

feat(feedback): Add autoCorrect and spellCheck config to FeedbackWidget#5627

Open
sbs44 wants to merge 2 commits intogetsentry:mainfrom
sbs44:feat/feedback-widget-autocorrect-spellcheck
Open

feat(feedback): Add autoCorrect and spellCheck config to FeedbackWidget#5627
sbs44 wants to merge 2 commits intogetsentry:mainfrom
sbs44:feat/feedback-widget-autocorrect-spellcheck

Conversation

@sbs44
Copy link
Contributor

@sbs44 sbs44 commented Feb 6, 2026

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Add optional autoCorrect and spellCheck props to FeedbackGeneralConfiguration, forwarded to all TextInput elements in the feedback form. Both default to true (matching React Native defaults) so this is non-breaking.

Also adds autoCapitalize="none" to the email input — email addresses shouldn't be auto-capitalized.

💡 Motivation and Context

Fixes #5626 — feedback forms used for bug reports often contain technical terms, stack traces, and identifiers that trigger aggressive auto-correct behavior. Consumers should be able to opt out.

💚 How did you test it?

  • Test: autoCorrect={false} and spellCheck={false} forwarded to all three TextInputs
  • Test: defaults to true when not specified
  • Test: email input has autoCapitalize="none"
  • All existing tests pass, snapshots updated

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

None.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • feat(feedback): Add autoCorrect and spellCheck config to FeedbackWidget by sbs44 in #5627
  • fix(feedback): Deep merge custom styles with defaults in FeedbackWidget by sbs44 in #5625

🤖 This preview updates automatically when you update the PR.

@sbs44 sbs44 force-pushed the feat/feedback-widget-autocorrect-spellcheck branch from 9ba1207 to 23ca722 Compare February 6, 2026 11:43
@sbs44 sbs44 force-pushed the feat/feedback-widget-autocorrect-spellcheck branch from 23ca722 to 9ae2419 Compare February 6, 2026 11:55
@lucas-zimerman
Copy link
Collaborator

Thank you for the contribution! I have a few suggestions on the email/username input, other than that, it's looking good!

@lucas-zimerman lucas-zimerman added the ready-to-merge Triggers the full CI test suite label Feb 6, 2026
@lucas-zimerman
Copy link
Collaborator

@sentry review

- Add optional autoCorrect and spellCheck props to FeedbackGeneralConfiguration
- Pass props through to all three TextInput elements (default: true)
- Add autoCapitalize="none" to email input to prevent iOS capitalization
- Add tests for prop forwarding, defaults, and email autoCapitalize
@sbs44 sbs44 force-pushed the feat/feedback-widget-autocorrect-spellcheck branch from 9ae2419 to c8cfaa3 Compare February 6, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Triggers the full CI test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FeedbackWidget: no way to control autoCorrect/spellCheck on text inputs

2 participants