How to change input field according to change of the drop down

I want to change the input type of the value field according to the dropdown values.

I'm new on retool, please give. me any suggestion

I don't think it's possible in Retool. What you can do is create three hidden components (text, int, image) and then just show it depending on the selection of the DataType field. Not sure though if this is the optimal way to do it but it'll fulfill your purpose

Agreed with @kelvin-reyes, I'd do 3 components, since we don't have one component that could accomplish this. You can put them all in the same place on the canvas & show/hide them conditionally

\

Thanks, @Tess & @kelvin-reyes
That cool trick, but not an optimal way to do it.

Thanks for the product feedback! I'll share this request internally as well