Possible bug: Multi-select with form field name
and ReactNode
in value causes stack overflow
#3031
Unanswered
vincerubinetti
asked this question in
Help
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm fairly sure this is a bug but I'll make a discussion first just to make sure.
I have a generic single/multi-select component that I'm using like this:
and the component itself looks something like this:
I've narrowed it down, and it seems like the problem only occurs when I select an option that has an
icon
(ReactNode
) set, AND the field has aname
for forms. I get an infinite re-render.I'm guessing this has something to do with HUI computing the raw values for the form.
Beta Was this translation helpful? Give feedback.
All reactions