I have two dropdown options I have to show the options in second dropdown based on what is selected in first dropdown how do I apply such condition using javascript and HTML in react