Skip to content

Id attribute is missing from input #563

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

Closed
stophecom opened this issue Jun 26, 2020 · 2 comments
Closed

Id attribute is missing from input #563

stophecom opened this issue Jun 26, 2020 · 2 comments

Comments

@stophecom
Copy link

Steps to reproduce

Expected Behavior

  • id is a required property and should be passed.
  • id attribute should be present.

Actual Behavior

id attribute is not present.

@stophecom stophecom added the bug label Jun 26, 2020
@ericgio ericgio added duplicate and removed bug labels Jun 26, 2020
@ericgio
Copy link
Owner

ericgio commented Jun 26, 2020

Hi @christopheschwyzer, thanks for the report. This is the expected behavior; the top-level id is actually applied to the menu for accessibility purposes. If you need to apply an id to the input itself for some reason, you can use inputProps for that.

Related issue: #456, #554

@ericgio ericgio closed this as completed Jun 26, 2020
@stophecom
Copy link
Author

@ericgio Ah I see. Thank you for the explanation!

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

No branches or pull requests

2 participants