Wrap a slot in a block #2062
Unanswered
jasonbouffard
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Take the above component. Does anyone have any suggestions on how to implement if a caller would like to wrap the
rows
slot(s) in a form element? The below will not work, but it is the idea I am shooting for. A typicalListComponent
caller would not need a form wrapper.Almost like this: https://github.com/palkan/view_component-contrib?tab=readme-ov-file#wrapped-components
Except for slots.
This is close: #1126 (comment)
But not quite what I am looking for.
Beta Was this translation helpful? Give feedback.
All reactions