Hi Community Team,
I created App. My requirement is when user select "add dates" button dynamically add next 5days except weekends to the screen.
Submit the user data into sharepoint list. onselect of submit button how can write dynamic dates. please help to achieve this one.
Below image for better understand requirement.

Dates in gallery how to save those records?
hour and description saved based on date means like date is 17/7.2023,hour and description also same date.
Thanks in advance for quick respond and efforts....!!!!