react-expression-builder
react-expression-builder copied to clipboard
Possible to define initialValue and programmatically open dropdown?
trafficstars
Holy moly, this library is freaking awesome! Kudos man, this is seriously cool, with a ton of applications.
Just wondering if it would be possible to be able to pass in an initialValue and programmatically open/re-open the dropdown list?
Hey @jmannDev43, thank you! ✨
Yes, supporting initialValue as a prop is a very common use case and something I've been looking to achieve for a while, but couldn't find time. Feel free to PR if you'd like :)
And yes we could also have an option to programmatically toggle the dropdowns, simple approach could be exporting the list of dropdowns setter functions for the user to play around with.