Skip to content

fix(record): Safely query sibling radio buttons using getElementsByName - #385

Open
sentry[bot] wants to merge 1 commit into
sentry-v2from
seer/fix-radio-name-selector-syntax-error
Open

sentry[bot] wants to merge 1 commit into
sentry-v2from
seer/fix-radio-name-selector-syntax-error

Conversation

@sentry

@sentry sentry Bot commented Dec 3, 2026

Copy link
Copy Markdown

Fixes an issue where querySelectorAll throws a SyntaxError when a radio input's name attribute contains characters that are invalid in CSS selectors, such as double quotes (e.g. stringified JSON). Replaces the template literal selector input[type="radio"][name="${name}"] with doc.getElementsByName(name) filtered to input elements with type radio.

Fixes JAVASCRIPT-3B8F

@sentry <feedback>: Autofix iterates on these changes
@sentry stop iterating: Autofix stops iterating on this run

This PR was automatically generated by Sentry at no cost. You can adjust this setting at any time.

@sentry

sentry Bot commented Dec 3, 2026

Copy link
Copy Markdown
Author

Auto-Iterate on PRs is off, so Seer didn't fix the failing CI. Comment @sentry fix CI to have Seer fix it.

Turn on Auto-Iterate on PRs in Seer settings to have Seer handle CI and reviews on its own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants