Replies: 3 comments 13 replies
-
You can do something like that html.Component(v_for="field, i in fields", key="i", is=("field.type",), v_bind="field.params") where fields should be a state variable that could contains the following
There are other ways with trame-simput and trame-dataclass to do that. |
Beta Was this translation helpful? Give feedback.
1 reply
-
ok Seb, so I'm using this as a test
So not sure what is the correct way of passing |
Beta Was this translation helpful? Give feedback.
0 replies
-
You: |
Beta Was this translation helpful? Give feedback.
12 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.
-
Hi guys,
Not sure how to do the following.
I would like to loop through a json file and create the vuetify components dynamically at run rime. To help I have created a small sample json example below.
Lets say I read this in. How can I dynamically create the VTextField and VSlider widgets dynamically when the user loads it. Are there any existing examples that show something like this? Everything I have found is static. I would need all the components to be reactive and if the json changes so do the components (labels, values, types etc...)
Beta Was this translation helpful? Give feedback.
All reactions