Skip to content
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

Adds a comment about the ReactiveHTMLL loop wrapper element #2683

Closed
wants to merge 1 commit into from

Conversation

MarcSkovMadsen
Copy link
Collaborator

Addresses #2682

"```"
"```\n",
"\n",
"Here we wrap the `${obj}` in the `<option id=\"option\">` element. But depending on your use case, you can use other tag on the form `<name-of-tag id=\"option\">`."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The important thing to note here is that the wrapping element must have an id. It's also worth noting that the only reason to use an explicit loop (rather that just inserting ${children_parameter}) is to be able to wrap each component in a custom tag.

@philippjfr
Copy link
Member

Clarified this in #2689

@philippjfr philippjfr closed this Aug 30, 2021
@philippjfr philippjfr deleted the custom-components-loop branch September 20, 2021 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants