govuk-frontend icon indicating copy to clipboard operation
govuk-frontend copied to clipboard

[Stretch] Investigate how to initialise multiple components on a single element

Open romaricpascal opened this issue 1 year ago • 0 comments

What

Investigate how to allow data-module to contain a space separated list of components and initialise each of the components on the element when initialising components.

We'll need to consider the ordering of the initialisation: should it follow the list of components passed to the initialisation function or the found elements and the order in their data-module?

Why

This is a feature that GOV.UK component initialisation supports and other services may benefit from.

Who needs to work on this

Developers

Who needs to review this

Developers

Done when

  • [ ] We've designed the feature
  • [ ] We've implemented the feature
  • [ ] We've documented the feature

romaricpascal avatar Aug 09 '24 09:08 romaricpascal