Skip to content

Fix invalid for attribute on label elements in EmailPreferences.js - #2174

Open
marlware wants to merge 1 commit into
SCE-Development:devfrom
marlware:fix/email-preferences-htmlfor
Open

Fix invalid for attribute on label elements in EmailPreferences.js#2174
marlware wants to merge 1 commit into
SCE-Development:devfrom
marlware:fix/email-preferences-htmlfor

Conversation

@marlware

@marlware marlware commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

JSX requires htmlFor instead of for. At runtime, using the raw HTML attribute for name triggers a React DOM property warning.

JSX requires htmlFor instead of for; using the raw HTML attribute
name triggers a React DOM property warning at runtime.
@evanugarte

Copy link
Copy Markdown
Collaborator

this is cool, thanks

if you wanna contribute to the website lets do something more interesting, we can discuss in discord

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.

2 participants