-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Recursive component generation #119
Comments
@KazWar yes, you can just use BlitzForm as the schema component, and then you can pass a nested schema. 😄 |
@KazWar however, if your goal is an html select, then check the advanced example in the docs. I show how to pass elements to the slot of select. |
Could you show an example using mine maybe? I think this would be mighty useful. Cause i'm not quite sure how then. Would I replace the subcomponent select with BlitzForm and then...? Or use slot to render children? |
@KazWar I'm not sure I understand what you are trying to achieve exactly. But the advanced example in the docs show how to use a slot to render nested is this what you were trying to achieve? |
im trying to use this exemple : https://blitzar.cycraft.co/blitz-form/#advanced-example Its not working
|
"its not working" is a bit vague 😅 |
ok i find a solution : component: BlitzForm, work Now the new problem is : when this component BlitzForm are in a Slot it do not update the FormData if i put it ouside a slot its working |
Hey, I was wondering whether it's somehow possible to generate a form using a schema with components that have sub-components in them. For example using this schema:
Would generate 4 dropdowns. Or if not that somehow partially generate a schema, or supply a schema after blitz-form init (EG passing an empty form object) wrapping it over some non-form components and then supply the schema from inside those components.
E.G
The text was updated successfully, but these errors were encountered: