You can add this function:
Similar to the operation multiple choice
1. Dropdown starts with main categories (Father) and shows no subcategories (child)
2. Dropdonw displayed the subcategories (child) which only depend on the main category (parent) is selected.
Main Categories: Cars / Motorcycle /
Sub categories: Brands
If I select Auto show only cars brands
If I select Motorcycle show only motorcycles brands