One of the most frequently asked question from the community is about the problems occurring while trying to create so called dependent selects.

Here you could explore a simple sample of this case and check the source code used.

After you select the produce type, the second select list is populated and contains the items of this type, and if you change the type it will be updated again with proper values.

Dynamic selects Demo