Bindable input type?

I’m working on a dynamic component that would greatly benefit from the ability to specify input types parametrically. Unfortunately I just realized that doesn’t seem possible at the moment:

image

Is there a way to make input types bindable, or another equivalent approach to accomplish what I’m trying to do? If not, should I submit a feature request?

Thanks!

I tried the exact same thing. I just made divs in my component based on a select prop. Unfortunately it’s not bindable but that shouldn’t stop you… It’s just not optimal.

I’m assuming you mean one div per possible input type and using conditional rendering based on a property to only render the div of the corresponding type? That’s the solution I came up with as well but it’s definitely not ideal.

1 Like

Yup yup