Please update the selectOption function
you completely remove and re add the input instead of simply changing the type
either change this to a class variable that or use a data-type property on the input, both can be easily referenced in the @click binding on the input
Please update the
selectOption
function you completely remove and re add the input instead of simply changing the type either change this to a class variable that or use a data-type property on the input, both can be easily referenced in the @click binding on the input@Michiii11