Hello Team,
I have one manupulated list of Category and I want to set this list as a single select options in Select list field on Radio button trigger using behaviour.
I tried to get basic details using below code :
Instead of that, you can use a Custom Picker field.
This would work. By the way, maybe it is because of the copy-pasting but check the following code; it seems the second if should be inside of the first if statement:
category -> if (category != null && category.getName() != null) {
if (category.getName().containsIgnoreCase("jagile")) {
categoryList.add(category.name)
}
}
Also, if you insist on using this kind of filtering; you need to store all options inside the field's possible values and then depend on the `categoryList` you should update this option list.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.