Hi All,
I've a SharePoint List which is customized with Powerapps, the form contains 3 drop downs(Region,Country,BusinessFuncion) Region and Country are cascade dropdowns and all three fields are lookup fields in list. They are working fine while creating a new item but when Admin tries to edit a specific record details the values are not getting binded properly I'm using the below formula in Default property of Region dropdown(formula is Similar for Country,BFunction),
If(SMEMentorForm.Mode=FormMode.Edit Or SMEMentorForm.Mode=FormMode.View,First(Filter('Source',ID=Value(txtID.Text))).Region.Value)
When Admin edits the list item after refreshing the page for very first time, the first record values in list are getting binded to Region,Country,BFunction irrespective of the ID value other fields are working fine.and again when Admin tries for second time proper values are getting binded to dropdowns.
Not able to understand Powerapps behaviour here.
Any help would be appreciated!
Thanks,
SB