DropDownTags Cascading logic
Application Type
Reactive

Hello,


I've been working on a part of my website where I can add or edit Categories and Subcategories for a supposed product.

I have a popup where there is a DropDownTag with all the categories and a second DropDownTag populated with the respective SubCategories. My question is, what is the correct way of saving the list of Categories and subcategories?
And also what would be the correct way to edit them.


Thanks

chromeMt2lB4kXCg.png

Hi,

I implemented a sample here.

After selected categories and subcategories you can use the these local variables to save it:

You can find the code in this .oml file attached.

Hope this helps,

Khuong

DropdownTagsDemo.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.