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 / How to control Text in...
Power Apps
Unanswered

How to control Text input control color of Edit Form

(0) ShareShare
ReportReport
Posted on by 2

I am working on Teams power app.

I have a edit form. on the fill color property I am using this code to control the back ground color of the Form, the code is

If(ReturnSubForm.Mode = FormMode.Edit,Color.LightYellow,If(ReturnSubForm.Mode = FormMode.New,Color.LightBlue,Color.White))
Its shows the color as I want.
 
But the issue is that the textbox control colors get changed from white to grey color.
I want to the All text box control colors to remain white , No matter what mode the Edit Form is.
 
Is it possible?.
If yes, what code and what property to apply?.

Need to apply on each control separately?.

 

Please guide

 

Below image of New Form mode

MIA27_0-1712390100978.png

 

Below image of edit form image

MIA27_1-1712390112278.png

 

Categories:
I have the same question (0)
  • MIA27 Profile Picture
    2 on at

    I tried the below code on the color property of the text box control (DatacardValue28), that also fails

    If(
    ReturnSubForm.Mode=1,RGBA(255, 255, 255, 1)
    ,If(    
    ReturnSubForm.Mode=0,RGBA(255, 255, 255, 1)
    ,RGBA(255, 255, 255, 1))
    )  
  • Verified answer
    Rajkumar_M Profile Picture
    3,741 Super User 2025 Season 2 on at

    Hi  @MIA27 

     

    You can do this by selecting each text input control within the form and setting its Fill Property to Color.White.

    Here's what you need to do:

    1. Select the text box control within the form.
    2. Go to the properties panel on the right side.
    3. Find the Fill property.
    4. Set the Fill property to Color.White.

       

    5. You will need to do this for each text box control within the form. This will override any other color settings that might be inherited from the form's properties or the app's theme.

      Rajkumar_404_0-1712398197043.png 

      Thanks!

       

      If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.

       

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 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard