Skip to content
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(textarea): A form field element has neither an id nor a name attribute. #10172

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhe-he
Copy link
Contributor

@zhe-he zhe-he commented Sep 23, 2024

Every time I create a textbox element, the console gives me a suggestion with the following information. I found that the textbox creates a hidden textarea, so I decided to add a name to it to resolve this suggestion.

image

Copy link

codesandbox bot commented Sep 23, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@asturur
Copy link
Member

asturur commented Sep 27, 2024

What browser is that?

@zhe-he
Copy link
Contributor Author

zhe-he commented Sep 27, 2024

What browser is that?

chrome
image

@asturur
Copy link
Member

asturur commented Sep 27, 2024

Is weird because this is not a form field, so we should not need to observe that generic issue there.
Not sure why it gets triggered anyway.

@zhe-he
Copy link
Contributor Author

zhe-he commented Sep 29, 2024

I recorded the steps to reproduce the issue in a video. The textarea is considered a form element in Chrome, even if it is hidden.

d.mp4

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