Skip to main content

Notifications

Power Platform Community / Forums / Building Power Apps / Problem with a referen...
Building Power Apps
Answered

Problem with a reference to data from combobox and dropbox.

Posted on by 106
So my problem looks like this:
I have form with a combobox/dropbox(I tested it with both of this controls so I will write like that). Then for property Items=["Cat","Mouse","Dog"].
Now I want to make a checkbox visible only when the item selected is for example "Cat". I use expression like that: Visible=If(ComboBox1.Selected.Value="Cat", true, false).
It does not work, makes always my checkbox not visible. 
I tested it even further....I just put text label, and I always see it black like the element does not exist outside the combobox/dropbox. 
Can anyone help me? 
Thanks a lot!
  • Suggested answer
    CU06080908-0 Profile Picture
    CU06080908-0 119 on at
    Problem with a reference to data from combobox and dropbox.
    call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547
  • Suggested answer
    CU06080908-0 Profile Picture
    CU06080908-0 119 on at
    Problem with a reference to data from combobox and dropbox.
    call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547
  • Suggested answer
    CU06080908-0 Profile Picture
    CU06080908-0 119 on at
    Problem with a reference to data from combobox and dropbox.
    call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547call us on our 24/7 customer helpline number - 07980-771-547
  • Verified answer
    Biskopt Profile Picture
    Biskopt 106 on at
    Problem with a reference to data from combobox and dropbox.
    I did not solve the problem with a reference in Visible propery. I solved it with DisplayMode property. Here the reference works just fine. This is interesting 
  • WarrenBelz Profile Picture
    WarrenBelz 140,749 on at
    Problem with a reference to data from combobox and dropbox.
    You really only need this in the Visible property
    ComboBox1.Selected.Value = "Cat"
    Based on what you have posted, it should work.

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 140,749

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,355

Leaderboard