How to derive values to preserve form state integrity
If I select a category, some movie, and then change the category, the movie value should reset to the first option of the new movie list. Otherwise, the form would keep a movie value that doesn't belong to the selected category.
If I had to design such API, I would something like Saphyra does with reducer: