Remove the default date text in a Power Apps Date Control
How to remove or change the default date text value in a Power Apps Date Control.
If you use the Date Picker control in Power Apps, you’ll surely notice the control shows a default date (12/31/2001) if you don’t have a value selected.
If you check the value of the control, it is not saving 12/31/2001 as the selected date. This is only a “Hint” text added to the rule if no value is set. It is meant as an example for the user.
You can remove this hint text easily.
- Select our Date Picker control.
- Go to the InputTextPlaceholder property.
- The default formula is as follows.
If(IsBlank(Self.SelectedDate), Text(Date(2001,12,31), Self.Format, Self.Language))
- You can change this to show whatever text you want, for example: “Select a Date.”
If(IsBlank(Self.SelectedDate), Text("Select a Date", Self.Format, Self.Language))
Or you can remove it altogether by replacing the formula with:
Blank()