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
Super User

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

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
Power Participant
Power Participant

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

@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
Frequent Visitor

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

Hi Hardit,

 

Yes it is a look up.

Highlighted
Frequent Visitor

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

Thanks for the information.

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

Highlighted
Super User
Super User

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

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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (9,708)