Skip to content

When using oneof parent fieldset have same id as child fieldset #4819

@mikitabut

Description

@mikitabut

Prerequisites

What theme are you using?

core

Version

5.24.13

Current Behavior

I'm expiriencing when using object with oneof property fieldset for object property is duplicated with inner one and in result I having warning in console https://www.chromium.org/developers/design-documents/create-amazing-password-forms/#follow-html-guidelines

Expected Behavior

Upper fieldset will have different id to avoid warnings

Steps To Reproduce

  1. Use property with oneOf as in playground
  2. Check element tree
  3. You will see duplicated fieldset ids

Environment

- OS: Mac OS 15.7.1
- Node: 22.14.0
- npm: 10.9.2

Anything else?

Link to playground link

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions