Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Issue with Dropdown in Modern Form in PowerApps - It's not matching the value with the options

(1) ShareShare
ReportReport
Posted on by 53

Hi everyone,

I'm facing an issue in my PowerApps app when using a modern form with a dropdown. Here's the situation:

  • I have a SharePoint list called Customers.
  • In my app, I'm using a modern form that includes a modern dropdown.
  • In the Customers list, there's a field called Condicao_Representante. This field is a text field and not a choice field, as the options are stored in another data source.
  • In the app's form, I replaced the text field Condicao_Representante with a dropdown, and I set the selection options in the Items property of the dropdown from another source.

The issue is: when I try to edit a record, the dropdown doesn't select the corresponding option. If I do the same thing in the old (classic) forms, it works perfectly!

Does anyone know how to solve this issue in the modern form?

Thanks!

Options above comes from a base called Base_Valores_Campos:

 

This is the Customer database, with a record

 

I added a textbox and putting "ThisItem.Condicao_Representante" and it is bringing the text right from the Customer database. But on the Dropbox it's not matching with a option!!!!

Should a put something on DefaultSelectedItems in this dropbox? Currently it's empty and I tried somethings but it didn't work.

Categories:
  • Verified answer
    bajiomeke Profile Picture
    53 on at
    Issue with Dropdown in Modern Form in PowerApps - It's not matching the value with the options
    Hi Everyone!
     
    I finally found a solutions to work around this bug!
    On the dropdown field, on DefaultSelectedItems I wrote this?
     
     
    This makes select the option correctly and not duplicate it
     
    But seriously.. Microsoft have to fix it if they want to make PowerApps easy to use.
     
     
  • bajiomeke Profile Picture
    53 on at
    Issue with Dropdown in Modern Form in PowerApps - It's not matching the value with the options
    One way to work around this problem I found is to make the field on List as Choice (with just 1 value), than I copy this Choice to a Collection, then I clean this Collection and put my values, I think this copy a invisible property.. It works, but it shows a duplicated value.
    But, this is a big bug on this control, How can we report it to Microsoft?

    It work:

    But when you click to list, a value is duplicated. If you select anothe value there, the duplicated value disapear. lol


    This way may work for now, even if it duplicates, but would be great if they fix it (or find a way to remove this duplicated)
  • bajiomeke Profile Picture
    53 on at
    Issue with Dropdown in Modern Form in PowerApps - It's not matching the value with the options
    Hi @Nindit,
     
    So, I tried this, but it does not work! It works only on Old Dropdown box.
    So, I tried to put brackets [ ] on this LookUp (and change other things to ajust), at the first time it worked, matching and showing the value of the register, BUT, if I click on dropbox it gets an error:
  • Suggested answer
    Nandit Profile Picture
    1,563 Super User 2025 Season 1 on at
    Issue with Dropdown in Modern Form in PowerApps - It's not matching the value with the options
    Hi bajiomeke, 
      
    Yes, that's correct. You will have to write a formula to get the text from Customer database. For this to work right the names of the values in the Customer database Condicao_Representante column and Valor_1 column in Base_Valores_Campos should be exactly same. 
     
    Try this:
    LookUp(
        Base_Valores_Campos,
        Valor_1 = ThisItem.Condicao_Representante
    )
     
    This should work. 
     
    Kind regards, 
    Nandit
     
    If this answers your query, please mark this response as the answer.
    If its helpful, please leave a like. Thanks!
     
     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,594 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard