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?
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.
Hey @adammparmenter
Use isblank function onselect of submit button with if condition.
If(isblank(textinput.text), notify("text", type error),submit)
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?
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.
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
Now your button is disabled if the textInput is empty.
Now the button is enabled when the textInput is not empty:
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473