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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to control Text in...
Power Apps
Answered

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,747 Moderator 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard