Question
Default value in the group picker field should not be removed
Hi Team,
I have a group Picker field and there is a condition that if mkv = 'mk-3475' by default it should select a group called Keytruda writers. The users who is working on this interface cannot remove this group but they can add more groups along with this.
Can some one help how I can achieve this.
a!pickerFieldGroups(
required: true,
label: "Assignee(s)",
helpTooltip: if(
and(
or(
ri!lrrf['recordType!{a8fd253d-0e45-428b-af5f-cdd4c2b27a87}RGRACSLBL LRRF.fields.{57e16ccd-ed38-46b5-9fb7-8f5cfca177c9}reviewType'] = cons!RGRACSLBL_LRRF_REVIEW_TYPES[1],
ri!lrrf['recordType!{a8fd253d-0e45-428b-af5f-cdd4c2b27a87}RGRACSLBL LRRF.fields.{57e16ccd-ed38-46b5-9fb7-8f5cfca177c9}reviewType'] = cons!RGRACSLBL_LRRF_REVIEW_TYPES[2]
),
ri!lrrf['recordType!{a8fd253d-0e45-428b-af5f-cdd4c2b27a87}RGRACSLBL LRRF.fields.{2ebc42d8-fe25-490b-879a-dcf755894066}country'] = cons!RGRACSLBL_EUROPEAN_UNION
),
cons!RGRACSLBL_CONS_LRRF_GLL_HELPER,
{}
),
groupFilter: if(
ri!lrrf['recordType!{a8fd253d-0e45-428b-af5f-cdd4c2b27a87}RGRACSLBL LRRF.fields.{296074dc-1b66-4d21-a91f-0cc9c8a771f2}mkv'] = cons!RGRACSLBL_KEYTRUDA,
a!hiddenField(
value: cons!RGRACSLBL_GROUP_KEYTRUDA_WRITERS
),
{}
),
value: rule!APN_distinct(ri!assignees),
saveInto: a!save(
ri!assignees,
rule!APN_distinct(save!value)
),
)