Hi there 
Indeed you can’t bind the input type dynamically.
the way I see it you have 2 choices:
- You create a class with some common styles and you apply it to any input you will use
- You create one master input component, and inside you show or hide them dynamically/ conditionally depending on your use case
We’ve had some community members discussing this idea in the past:
Hope this helps!