Hi,
I have created a form with a collection of gallery in the data card which shows other list data:

I want to let user to choose the items and patch the selected items' ID to sharepoint list, but I'm not sure what should I do for the submit button and power automate.
I created a gallery(Gallery3) for all the selected items in the table.
This is my current formula for submit button:
JSON(
ShowColumns(
Gallery3.AllItems,
"ID"
),
JSONFormat.Compact
)
);
these are my current power automate:


I tried to select 2 items from the table and submit. However, it created 2 items instead of 1 and the ID format is not what I want, I want to have 73, 76 in the field.

Moreover, after the ID is submitted, I also wish to show the details of selected items in view mode on powerapp for approver to review, but I'm not sure if just submitting ID is enough to show all the details in the table. Please give some advice on this too.
Thanks in advance.