Option selected on dropdown must show one input field

Hello, I have a Form in which there is a dropdown which is having two options a and b

if option a is selected nothing has to happen if option b was selected one extra field has to appear under that dropdown

Can someone help me with this I’m struggling

instead of dropdowns is there any other way ??

check https://ionicframework.com/docs/api/select#events