Query Builder Alternative?

Hello, I am in need of a query builder component and I saw that I could use the deprecated query builder. Is there a reason this component was deprecated? I would assume something better replaced it but I can't find it. This component lacks styling configurations and converting the query to a json tree so I'm planning on importing a custom component using React Query Builder.

Also is there a way we can take existing components in Retool and modify their code to suit our specific needs?

1 Like

Hi @Felix1

Thanks for reaching out! I'm curious to hear if anyone has good alternatives!

I think it would be tricky to recreate with our existing components (maybe using Select components + Switch/Toggle button components), so I agree it could be worth considering a custom React component. Unfortunately, we don't expose code for existing components for customization :disappointed:

One of the considerations when deprecating this component is that it was one of our least used components. That said, if you ever need to reference deprecated components, you can enable them under Settings->Beta->Deprecated Components and you'll be able to drag & drop them into apps:

image