Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

Disable a Button if the user did not select any value inside the dropdown

I have a dropdown + button, now i want to enable the button only if the user select a value inside the dropdown, so inside the Button's Display mode i added this formula:-




but the button will always be disabled.. any advice?

Frequent Visitor

Hi @johnjohn123 ,


I tried to recreate your use-case and here is a solution that seems to work based on what you have mentioned -

  1. Insert a combobox instead of a dropdown (Combobox1, in my example. If you want to have only a single value selected from a user, you can turn "Allow multiple selection" off
  2. The Button's DisplayMode can be set to this -


If(ComboBox1.Selected.Value = Blank(),Disabled,Edit)


  • When there is no value selected, the button will be disabledsivaecl_0-1631856074573.png


  • When a value is selected, the button will go into Edit modesivaecl_1-1631856117969.png

Please click Accept as solution if my post helped you solve your issue. If this was useful in some way, please give a  Thumbs Up.

Memorable Member
Memorable Member

Hello @johnjohn123,


I have created a Drop Down with Item as ["","1","2"]



in Display Mode of button






Check if the Drop Down Value is null, if null Disabled else Edit


Please mark as Answer if it is helpful and provide Kudos

Subscribe :
Blog :


Continued Contributor
Continued Contributor

Hi @johnjohn123 ,


Use this on button property 'DisplayMode' insert this formula

If(CountRows(ComboBox.SelectedItems) = 0, DisplayMode.Disabled, DisplayMode.Edit)


Hope this helps.

@Ethan_Ri am using dropdpwn not combobox..

Continued Contributor
Continued Contributor

Hi @johnjohn123 ,

No problem,

Use this then,

If(IsBlank(Dropdown1.Selected), DisplayMode.Disabled, DisplayMode.Edit)


For this, you will require 'AllowEmptySelection' property of Dropdown set as true


Hope this helps

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,304)