how to implement children vnode conditional rendering inside a nested h() function? #6958
Unanswered
swatchion
asked this question in
Help/Questions
Replies: 1 comment
-
I don't understand what should not work about the second example. I'm assuming you are running this code in a render function? |
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.
-
Hello everyone:
Facing a problem which stuck me for nearly a full day.
I have a dynamic modal which content can be varied depending on the user action, which I use h() function to render the modal content.
Now I have a problem when deal with nested form element. Try to describe the situation as flow.
As the h() doesn't take a ref() or reactive object as its parameters, approach like the flowing is not going to work.
Any advice to overcome this will be much appreciated! Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions