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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / empty value in dropdow...
Power Apps
Unanswered

empty value in dropdown menu

(1) ShareShare
ReportReport
Posted on by 171
Hello everyone,
 
I have built an app in which you can use a drop-down menu to select what should go into a form. You can then customise the text in the shape if required. (See picture).

However, I would like the dropdown field to be set to an empty value as soon as the form has been sent, so that there is not already something in the form at the beginning. 
 
In the picture I have only started my app and as you can see a value is already selected in the dropdown. 

I hope you understand my concern.
Thanks in advance
 

 
 
Categories:
I have the same question (0)
  • Suggested answer
    Nandit Profile Picture
    1,568 Moderator on at
     
    I don't see the any attached images (I think its cause of the latest updates to the forum) but here's some thoughts based on my understanding. 
    You will have to use the Classic DropDown for this or add a Blank value to your Modern Dropdown values. 
     
    Classic Dropdown:
    Update AllowEmptySelection: true
    Default property of your DropDown: Blank()
    OnSelect of the Sumbit Button: Reset(DropDown)
     
    Modern Dropdown:
    Items: ["  ", "Item 1", "Item 2", "Item 3"]
    If your items are coming from a DataSource, add a blank by creating a collection on OnStart:
    ClearCollect(
     colDropdownOptions,
     [{fieldname: Blank()}],
     Distinct(DataSource, fieldname)
    );​
    Default property of your DropDown: Blank()
    OnSelect of the Sumbit Button: Reset(DropDown)
     
    Hope this helps.
     
    Kind regards,
    Nandit
     
    If this answers your query, please mark this response as the answer.
    If its helpful, please leave a like. Thanks!
     
  • Suggested answer
    Ammar Zaied Profile Picture
    97 on at
    You can reset the dropdown control when the form is successfully submitted by using the Reset() function inside the OnSuccess property of the form. This will reset the dropdown back to its initial state (usually blank or the default value).
     

    To ensure the dropdown starts with an empty value (or a placeholder) when the app loads, follow these steps:

    1. Select the Dropdown control in the app.

    2. Set its Default property to Blank() so that it doesn’t pre-populate a value when the app starts.

    If you want to display a placeholder text in the dropdown, you can add a blank option to your Items property.

    after the form is submitted:

    1. The dropdown will be reset back to blank using the Reset() function.
    2. The next time the form is loaded, the dropdown will start with an empty value (or the placeholder) as defined in its Default property.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard