I have a canvas app, I have gallery control inside the gallery control I have checkbox and dropdown onselect of checkbox the dropwdown which is on the same row with checkbox enables and disables on unchecking the checkbox.
How can can I save checked items and dropdowns values to a table in common data service.
onSelect of checkbox I put the following logic:
If(
Checkbox3_1.Value = true,
Collect(
CheckboxTextValues2,
{Services:Checkbox3_1.Text,Frequency:Dropdown2_1.SelectedText.Name}
)
);
it has problem of selecting different dropdown values I but selects correct checked values of checkbox.
and If I uncheck still the values remain in collect so I am not sure how can I solve this problem and how can I submit checked values with selected dropdown values. see image of the gallery:

Report
All responses (
Answers (