I have a dropdown list and below that I have a Input field .
The input field will be visible only if choose a first option in dropdown list .
The input filed will not be visible if i choose a second option in dropdown list.
My problem is that after choose the first option in the dropdown list I’m entering some values in the input field and when i change to second option in the dropdown list the input field is not visible but the data stored in the input field is not reseting to empty. But I want to get the input field cleared if I choose first option from second option in the dropdown list.
May I know how can i sort out this issue?