Hi,
Please check the solution in this topic Create two dependent Select attributes
I hope this is helpful to you.