Using enum with ref. #2795
Unanswered
douglasmiranda
asked this question in
Q&A
Replies: 1 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.
-
I'm more looking for a clarification.
So by using the new
refwhen usingenum.I would expect to
refto a list and be able to get the same behaviour as when I statically set theenumitems.What I get is a prompt for me to type the item I want. (I understand that after I submit it will validate against the enum that's making the reference to the list)
What I was looking for is getting the selector. That is, creating a "dynamic enum" that will render the selector just like the static enum.
So I'm guessing this is intended and by design. (if not we could move this to Issues)
Demo:
Running
example-enum:Running
example-enum-with-ref:Beta Was this translation helpful? Give feedback.
All reactions