cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Andries1
Helper I
Helper I

Dropdown box no/incorrect value

After inserting data source I removed the data input field and replaced with dropdown selction. I made sure that it is still in the correct field. Because that particular field is required I get the error of no or incorrect value which I assume is because of the dropdown box? My syntax on Items of Dropdown box: ["Name of Course", "Basic Fall Arrest"] to my knowledge this output is be default in Text?
1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @Andries1 ,

Could you please share a bit more about the data input field that you mentioned? Is it a Text type field?

Do you want to use Dropdown box selection collect data for the field instead of the original Text Box?

 

I have made a test on my side, please consider take a try with the following workaround:

Set the Update property of the Text Input field data card within your Edit form to following:

Dropdown1.Selected.Value

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
pontusofsweden
Resolver IV
Resolver IV

Hi!

 

I´m not really getting you problem. Do you get an error when you try to display your selection? If that is the case, the syntax for the label (or whetever the control is) should be Dropdown1.SelectedText.Value. If you only type Dropdown1.SelectedText, you will get errors since that doesn´t return a string.

 

BR

Pontus

I get the message when I try to submit Form. I believe that the DataCard does not recognize the DropDown Input field or my data type is incirrect?

 

I replaced the original Input field with dropdown selection once I connected the data.

Ok, now I´m following 🙂

Can you try to set the Update property of the Datacard to dropdown1.SelectedText.Value and the try to submit the form. Just replace dropdown1 to your dropdown-id. I think that this might solve your problem. 🙂 

 

BR

Pontus

v-xida-msft
Community Support
Community Support

Hi @Andries1 ,

Could you please share a bit more about the data input field that you mentioned? Is it a Text type field?

Do you want to use Dropdown box selection collect data for the field instead of the original Text Box?

 

I have made a test on my side, please consider take a try with the following workaround:

Set the Update property of the Text Input field data card within your Edit form to following:

Dropdown1.Selected.Value

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,020)