DEV Community


Posted on

How to make a dependent dropdowns in React with Typescript?

I have two dropdowns, base dropdown lists the values Asset & Liability and i need to show the list of second dropdown depended by the base dropdown, ie, if i select Asset the second dropdown only lists Fixed Assets and Current Assets or if i select Liability then Long term and Short Term. How to do it in React Js With Type script language?

Top comments (0)