How to Edit the Data of a Repeater
How do I modify the data of a repeater? In my model, a category has subcategories, and a warehouse has locations.
For the form, I managed to load the subcategories based on the selected category and to load the locations after selecting the warehouse.
Then, a product has a subcategory (based on this, I get the category) and multiple locations (based on each location, I should get the warehouse). In the edit mode, I’ve already managed to load the category based on the subcategory, but I can’t load the warehouses based on the locations. How could I do that? Thanks in advance.
For the form, I managed to load the subcategories based on the selected category and to load the locations after selecting the warehouse.
Then, a product has a subcategory (based on this, I get the category) and multiple locations (based on each location, I should get the warehouse). In the edit mode, I’ve already managed to load the category based on the subcategory, but I can’t load the warehouses based on the locations. How could I do that? Thanks in advance.