Form with a choise dependance

Hello, I’m building an app in wich I want to have a form with a first select and when the user choose an option, it make apere an second select with the specifique choise (relative to the first chosie eg. you choose a car model, then the color unabeld, … the car 1 can be blue, red and the car 2 can be yellow an pink…
I tried to put a (change)=“getdetails()” en my select but it don’t work, what is te solution?
thanks per advance.