cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Default value for dropdwon selected but on save, the value is not visible in the list record

I have a column in my SharePoint list called as "Countries".I used "Editform" and created a form "XYZ" directly from my sharepoint list and hence got my countries dropdwon automatically created. But to avoid various problems likes zoomin issue in iOS, to add more visual appeal in the screen etc., I created an independent drop- down (say ABC) using the dropdown control and connected it with the SharePoint list for the column values of Countries.

 

Now, I set visible as false for the form XYZ itself but made sure that the datacard value of the Countries column in XYZ has a default value as "ABC.Selectedtext".

When I select a value in ABC drop-down, I see the same value in the Countries field of XYZ.So that means the connection works between both drop-downs.

 

Problem is when I submit the form , it is submitted successfully.But when I open the list to check if the record is saved or not byt Countries column is empty.

 

I am not sure why it is not saving when it is showing it on the screen of my app.

 

Any suggestions?

5 REPLIES 5
Highlighted
Super User II
Super User II

Is country a lookup field? Also what is the Update property of the dropdowns?

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit Bhatia
https://thepoweraddict.com
Highlighted
Super User II
Super User II

@Aditya1728 

 


@Aditya1728 wrote:

Now, I set visible as false for the form XYZ itself but made sure that the datacard value of the Countries column in XYZ has a default value as "ABC.Selectedtext".

 

 


 

SelectedText is "deprecated" property. That means it may have issues because it is being phased out.

 

See https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-drop-down

 

...

 

Reset – Whether a control reverts to its default value.

SelectedText (Deprecated) – A string value that represents the selected item.

SelectionColor – The text color of a selected item or items in a list or the color of the selection tool in a pen control.

 

...

 

Try using Text or another non-deprecated property and see if it helps.

 

 

Highlighted

Hi Hardit,

 

Yes it is a look up.

Highlighted

Thanks for the information.

Though I am using it for other text fields as well and it works.

Highlighted

Can you try the suggestion posted by me here? - https://powerusers.microsoft.com/t5/Building-Power-Apps/Patch-function-doesn-t-work-with-Person-Grou...

Let me know if it works.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit Bhatia
https://thepoweraddict.com

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,051)