checkboxgroup selected or unselected

Hi All,

I am able to get selected checkboxes (group) to show in a input field by using mapping when I clicked on a button.

However, the previous selected checkbox values are still showing in the input field even though I did not select any items.

Would you please let me know how to make the input show nothing when no items in the checkboxgroup is selected?

Thank you very much for your help.

1 person has
this question