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 / Adjust Text Input heig...
Power Apps
Answered

Adjust Text Input height depending on the text length

(0) ShareShare
ReportReport
Posted on by 21

Hello i have a form and on one of it's datacard i have a text input for a multi-line text.

My plan is to increase it's height depending on the text length. I tried doing this but this workaround doesn't seem to work on my end:

  • Use a Label for displaying text.
  • Set Label Visible property to false
  • Set the Text property of the Label to (TextInput1.Text).
  • Set the Label's AutoHeight property to true.
  • Set the height property of the Text Input to match the height of the Label.

Please provide some alternate workaround in order to increase the height of a multi-line text input

 

Thanks,

 

Categories:
I have the same question (0)
  • Verified answer
    johnxt Profile Picture
    on at

    can confirm the same behaviour, if you set the label to hidden its height doesnt update. if the label is visible it works fine. A workaround to make this workaround work, is move the label off your canvas 🙂

  • johnxt Profile Picture
    on at

    Oh, and to stop your Text input shrinking too much when there is no text in it, change the label Text field to something like this:

    If(IsBlank(TextInput1.Text),
     "Placeholder Text",
     TextInput1.Text
    )

     

  • FishInTheTank9 Profile Picture
    21 on at

    Thanks this worked well for me, instead of just moving the label out of the canvas I just made the text color of the label to Transparent so it can't be seen.

  • johnxt Profile Picture
    on at

    good idea, makes it easier to click on as well

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard