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 / Textbox DisplayMode = ...
Power Apps
Answered

Textbox DisplayMode = View makes Left Padding to Work incorrectly

(2) ShareShare
ReportReport
Posted on by Microsoft Employee

When textbox DisplayMode options is set to DisplayMode.View it makes left padding to work incorrectly and ignore the values specified.

 

Textbox is set to multiline.

Categories:
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    If you mean the textinput control, then I have reproduced your issue successfully. I have reported your issue to the pg and will update here if I got further information later.

     

    Regards,

    Mona

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you @v-monli-msft that is exactly it.

  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    My colleague just told me below information:

     

    DisplayMode – Values can be Edit, View, or Disabled. Configures whether the control allows user input (Edit), only displays data (View) or is disabled (Disabled). In View mode, input controls such as Text inputDrop downDate Picker will only display the text value and will not render any interactive elements or decorations. This makes them suitable to be displayed in Forms or as readable output.

     

    https://powerapps.microsoft.com/en-us/tutorials/properties-core/

     

    It seems that this is expected behavior.

     

    Regards,

    Mona

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-monli-msft,

     

    If that is correct, I think it is a bad assumption... So imagine I really want a field that the user can only read and not edit...  But in this use case I wanted the text to be rendered with some spacing in the beginning (because the default is touching the border and looks really bad). What is the reason for the padding not work? Is something really basic and working on alot of other tools.

     

    Hope that you can agree and this can be reviewed in a near future because it is pratically the same as changing the font style or size... same concept 🙂

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Mona,

     

    I have the same issue, and I have to say that having zero padding in an input field that is set to "View" mode is not desirable.  It completely detracts from the typical layout of the rest of the form inputs.

     

    Very often we adjust the mode of a certain input field depending on the value of another field.  This means that while the user is completing a form, the field could be editable or not, depedending on a certain value.  Typically, when the field is in View mode, we populate it with a value so the user can see what the value is, and that they cannot edit it.

     

    It seems like a large amount of effort to make the entire input field visible only when you want to edit it, and replace it with a Label when you don't, or even worse, pad the value with a space and try remember to trim it before updating the source - which are things we are having to do to work around this.

     

    Kind regards,

     

    R

  • Meneghino Profile Picture
    6,949 on at

    Hi @v-monli-msft

    This is the same issue I wrote to you about a week ago:

    https://powerusers.microsoft.com/t5/PowerApps-Forum/BUG-Text-input-left-padding-not-working-in-view-mode/m-p/58760

    It would be more useful to address the issue rather than to ignore it.

    Thank you.

  • Verified answer
    CarlosFigueira Profile Picture
    Microsoft Employee on at

    I've passed this information to the owner of that control. I agree that it seems wrong to have the design properties not being honored in the view mode (especially since the top/bottom padding is working correctly on that mode). It should be fixed in an upcoming release.

  • FilipK Profile Picture
    Microsoft Employee on at

    I agree.  We'll be fixing this immediately.

    Thanks for bringing this up

  • Marc Profile Picture
    7 on at

    Hi FilipK, 


    In 2017 you wrote "We'll be fixing this immediately." Seems the issue still remains. Any news on this?

    Many thanks, Marc

  • FilipK Profile Picture
    Microsoft Employee on at

    @Marc This has been fixed many months ago.  Have you republished your application recently?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard