I was able to use a form and post to event list.
I just use SubmitForm(Form1); and I new event list was added to event list.
I change to patch with the following code nothing happening when I click do the patch and no entry was added
Patch(
RoundingCalendar,
Defaults(RoundingCalendar),
{
Title: "Testing ",
Location: "SM",
EventDate : GalleryRoundsSchedule_1.Selected.EventDate,
EndDate : GalleryRoundsSchedule_1.Selected.EndDate,
R_Location : {Id: RoundsUnitId, Value: RoundsUnit},
Author : {
'@odata.type': "#Mcrosoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & User().Email,
Department: "",
DisplayName: User().FullName,
Email: User().Email,
JobTitle: "",
Picture: ""
},
Created : Now()
}
);
Please help.