OnFocus modification of multiple TreeSelect components used in react-querybuilder #1946
Unanswered
JL45312
asked this question in
PrimeReact
Replies: 1 comment
-
Maintainer of |
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
-
My project is using primereact V8
background: I am currently working on a project that uses reacte-querybuilder with a custom valueEditor. The custom value editor uses TreeSelect with a filter.
Issue: If I have opened one TreeSelect component, and go to open another, the previous one that I opened does not close.
What I tried: Using React useRef, and passing it as a prop to all the treeSelect components generated
Is there a way to resolve this issue? Previously I saw that ref was not available in v8 but then I saw a github pr/issue that said it resolved the ref exposure issue
Beta Was this translation helpful? Give feedback.
All reactions