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 / Modern Controls - Text...
Power Apps
Unanswered

Modern Controls - Text Input, Required Property

(0) ShareShare
ReportReport
Posted on by 37

Building an app and have used the Modern Text Input.

 

I set the required property to True, but I can't find any description of what that property does.

 

Here is what learn.microsoft.com has:  Required â€“ Must fill in field or not.

The Matthew Devaney blog is my favorite:  Required  Unknown purpose.

 

I am currently using the If function to force entry into certain fields.  What I want to know is what changes when I set the Modern Text Input Required parameter to true?

 

Anybody?

Categories:
I have the same question (0)
  • jrletner Profile Picture
    720 Super User 2025 Season 2 on at

    If you want the Submit button greyed out based on whether or not the text input is blank, you can do this:

    Button:  go to the DisplayMode property and enter a formula similar to this

    jrletner_0-1705602794797.png


    Now your button is disabled if the textInput is empty.

    jrletner_1-1705602832982.png


    Now the button is enabled when the textInput is not empty:

    jrletner_2-1705602861233.png

     

  • dhock Profile Picture
    126 on at

    Hi. Setting the Required property to true will cause an error notification if the field is empty and the user clicks on Submit. It does not disable the Submit button.

  • adammparmenter Profile Picture
    37 on at

    Yes.  I'm currently doing that method on other forms, but how exciting that there is a new parameter for the Modern Text input.  Required=True.  I really what to now what it does?

  • Himanshu_90677 Profile Picture
    416 on at

    Hey @adammparmenter 

    Use isblank function onselect of submit button with if condition.

    If(isblank(textinput.text), notify("text", type error),submit)

     

  • Verified answer
    jrletner Profile Picture
    720 Super User 2025 Season 2 on at

    That required feature will work inside of a Form control that will prevent the form from being submitted if that value is blank. It will not disable your button though, you need to write the code for that.

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