Replies: 1 comment
-
I had the same question and got an answer when creating a issue: #1365 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all this is a great resource.
To encourage re-usability I'm trying to create a custom component as shown in the docs here.
But unfortunately I'm not able to make the slots works. It seems that any children I pass between the
<FormKit><child/></FormKit>
does not replace inside the Custom component's<slot></slot>
tag.Does anyone have any idea how to make it work or is this a bug or unsupported?
Here is a playground link to show you what I mean
https://formkit.link/be2c9914ded5bbf39844e8c04c78cab6
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions