Hi Team,
I have an issue with repeating gallery, while clicking save button date picker and dropdown fields are getting changed to default value also a new row gets added. Values should not get change to default, actual value should exist in the field.
Formula used in Save button(on select event) as below.
Patch(ContractorCollection, ThisItem, {FirstName:txtContractorFirstName.Text,LastName:txtContractorLastName.Text,ContractorPhone:Value(txtContractorPhone.Text),VendorName:txtVendorName.Text,StartDate:DPStartDate.SelectedDate,EndDate:DPEndDate.SelectedDate,
Floor: DDFloor.Selected.Value});
Collect(ContractorCollection, {FirstName:"",LastName:"",ContractorPhone:0,VendorName:"",StartDate:"",EndDate:"",Floor:""})
Note: After submitting the form the correct details are getting saved to the data source.
Solved! Go to Solution.
Try making these property changes and see if they help:
Change DefaultDate for DPStartDate to: ThisItem.StartDate
Change DefaultDate for DPEndDate to: ThisItem.EndDate
Change Default for DDFloor to: ThisItem.Floor
Change AllowEmptySelection for DDFloor to: true
Try making these property changes and see if they help:
Change DefaultDate for DPStartDate to: ThisItem.StartDate
Change DefaultDate for DPEndDate to: ThisItem.EndDate
Change Default for DDFloor to: ThisItem.Floor
Change AllowEmptySelection for DDFloor to: true
Hi Jeff,
Thanks al ot for your help.
Solution works for me 🙂
Change AllowEmptySelection for DDFloor to: true is made the dropdown as blank in the new row. Is it possible to set default value of dropdown filed in the new row? eg: dropdown field should set to default(-Select-) instead blank text in dropdown filed.
Thanks again, you saved my time 🙂
User | Count |
---|---|
197 | |
122 | |
89 | |
48 | |
41 |
User | Count |
---|---|
286 | |
162 | |
138 | |
80 | |
73 |