web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Previosly selected mis...
Power Apps
Answered

Previosly selected missing from Edit Form, Used Allowed Values

(0) ShareShare
ReportReport
Posted on by 373

I am using SharePoint list, the column is a single line text. In the PowerApps I changed it to Allowed Values creating a drop down in the app.

leslie_rivera_0-1717703231024.png

 

 

The issue is once a user makes a selection, the SharePoint list is updated, however when the user goes back into the form the previously selected item does not show. All other fields show with Parent.Default. Not sure why.

 

DataCard

leslie_rivera_1-1717703527250.png 

Dropdown

Items = Parent.AllowedValues

Default = Parent.Default

 

 

On the Edit form the user selected ounces, which is reflected in the SharePoint list, however the Edit form shows

leslie_rivera_2-1717703721624.png

DataCard

leslie_rivera_3-1717703759472.png

Dropdown

leslie_rivera_4-1717703817553.png

 

 

 

 

 

 

 

Categories:
  • WarrenBelz Profile Picture
    156,963 Most Valuable Professional on at

    Hi @leslie_rivera ,

    What type of field is 'ItemNo. 1 Units'

  • leslie_rivera Profile Picture
    373 on at

    I think I the issue is the field was changed in SharePoint. I inherited this solution so I was not part of the initial build. Initially the field was a number field. It was then changed into a single line text field. That might be the issue.

  • WarrenBelz Profile Picture
    156,963 Most Valuable Professional on at

    @leslie_rivera ,

    Yes, that can cause some chaos unless you re-build the attached Data Card and Control.

  • Verified answer
    leslie_rivera Profile Picture
    373 on at

    Yes I had to delete the column in SharePoint and recreate it the correct way. Now its working.

    After further review the main issue was adding the Textinput field to the card. After testing the below formulas with the existing columns it all worked just fine.

     

    To add another level of complexity they wanted me to add an "other" option then allow users to input to describe other.

     

    This is how I got it to work.

     

    I recreated the column in SharePoint list to a single line text field. Added it to the Powerapps Edit form, then changed the control type to Allowed Values.

    leslie_rivera_0-1717773068121.png

     

     

    In the card when to Advanced and unlocked to change the properties.

    leslie_rivera_0-1717773196191.png

     

    I added a Textinput field into the card, then aligned it so the field and the drop down in the same position.

     

    In the DataCard properties:

    Allowed Values: ["each", "ounces", "gallons", "dozens", "box", "bag", "package", "other"]

    Update: If(DataCardValue.Selected.Value = "other" || !IsBlank(TextInput.Text), TextInput.Text,DataCardValue.Selected.Value)

     

    In the TextInput properties (deleted default text)

    Default: If(DataCardValue.Selected.Value = "each" || "ounces" || "gallons" || "dozens" || "box" || "bag" || "package", ThisItem.'Item Units',"")

    Visible: DataCardValue.SelectedText.Value = "other" || !IsBlank(TextInput.Text)

    Tooltip: "Delete text to see drop down options"

    HintText: "Describe other"

     

    Dropdown (DataCardValue)properties

    Visible: DataCardValue.SelectedText.Value <> "other" || IsBlank(TextInput.Text)

     

    And now it works perfectly!

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard