Library
React Components / v9 (@fluentui/react-components)
System Info
Are you reporting Accessibility issue?
no
Reproduction
Yet to be provided
Bug Description
Actual Behavior
When a v9 Field component is used to wrap an inner native HTML control or v9 control like Input or Checkbox, and an "id" attribute is set on that inner control, the "id" gets overwritten with a generated "id".
Expected Behavior
The "id" attribute of the inner control should be preserved when wrapped by the Field component.
Logs
No response
Requested priority
Blocking
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
Library
React Components / v9 (@fluentui/react-components)
System Info
Are you reporting Accessibility issue?
no
Reproduction
Yet to be provided
Bug Description
Actual Behavior
When a v9 Field component is used to wrap an inner native HTML control or v9 control like Input or Checkbox, and an "id" attribute is set on that inner control, the "id" gets overwritten with a generated "id".
Expected Behavior
The "id" attribute of the inner control should be preserved when wrapped by the Field component.
Logs
No response
Requested priority
Blocking
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations