Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1 KB

TODO.md

File metadata and controls

24 lines (16 loc) · 1 KB

FormMember dependents should be updated when the value of the FormMember is changed

Where there are chained dependents for example:

model -> brand -> product_subcategory -> product_category

Given a form with say Product form will all the above fields. When a product_category is selected, product_subcategory field is populated with values. When a product_subcategory is selected, brand field is populated with values. When a brand is selected, model field is populated with values.

When the earlier selected product_category is changed, the selections for product_subcategory, brand and model still remain even though now out of context.

Clear all related selection each time a field with dependents if clicked

  • It could be on return from the dependents call to the api

  • A dependents graph could be built, e.g:

When product_subcategory is populated for product_category -> category.subcategory When brand is populated for product_subcategory -> category.subcategory.brand