cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Resolver II
Resolver II

Grey textfield when app start up

Hi,

Is it possible to make both text fields grey when the app starts and nothing is selected in the radio buttons?

Capture.JPG 

1 ACCEPTED SOLUTION

Accepted Solutions
Resolver II
Resolver II

I solved it using;

If(IsBlank(Radio1.Selected.Value),DisplayMode.Disabled, If(Radio1.Selected.Value="Office", DisplayMode.Disabled,DisplayMode.Edit))

View solution in original post

3 REPLIES 3
Super User II
Super User II

Hi @JHS2020 

You could use the DisplayMode property of the card.  Unlock the card and set the DisplayMode to something like

 

If(somecondition,View,Edit)

You could use the Set(var,true) function to create a variable in the OnStart property of the app and use that with IsBlank(Radio.Selected.Value) 

If(var && IsBlank(Radio1.Selected.Value),View,Edit)

 

Does not really help?

Resolver II
Resolver II

I solved it using;

If(IsBlank(Radio1.Selected.Value),DisplayMode.Disabled, If(Radio1.Selected.Value="Office", DisplayMode.Disabled,DisplayMode.Edit))

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (5,595)