openproject icon indicating copy to clipboard operation
openproject copied to clipboard

[#70200] Introduce Fieldset component, input group

Open myabc opened this issue 1 month ago • 1 comments

Ticket

https://community.openproject.org/work_packages/70200

What are you trying to accomplish?

Introduces both an unstyled, low-level FieldsetComponent and the fieldset_group input group for use with the Primer Forms DSL.

Screenshots

See #21365 for fieldset_group in action.

Unstyled component (see lookbook docs)

Screenshot 2026-01-08 at 19 43 50 Screenshot 2026-01-08 at 19 43 41

What approach did you choose and why?

As with other recent components I've worked on (e.g. DataTable), i've chosen to introduce a low-level unstyled / "headless" component that just renders the HTML and validates semantics.

Merge checklist

  • [x] Added/updated tests
  • [x] Added/updated documentation in Lookbook (patterns, previews, etc)
  • [x] Tested major browsers (Chrome, Firefox, Edge, ...)

myabc avatar Jan 08 '26 22:01 myabc

@myabc I've opened a new pull request, #21603, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot avatar Jan 08 '26 22:01 Copilot