I have a dropdown next to an input field and I\'m trying to create the input field such that it could dynamically change its type depending on the value selecte
type