cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict available dates in Datepicker controls

Add MaxDate and MinDate properties to avoid selecting dates out of range. Examples:


Avoid selecting dates in the past:

Datepicker1.MinDate: Today()

 

Set maximum selectable date to 1 year in the future since today:

Datepicker1.MaxDate: DateAdd( Today(), 1, Years )

 

Attached image shows what it would look like MinDate property 🙂

Status: Under Review

Updating status and adding @FilipK

Comments
chmoncayMSFT
Power Apps

Hi there,

 

The MinDate / MaxDate functionality is in the new Fluent UI Date Picker control currently available in Dataverse for Teams and Custom Pages.  We're looking to bring these new modern controls to all Power Apps makers soon.

 

chmoncayMSFT_2-1636052762894.png

 

chmoncayMSFT_1-1636052743353.png

 

Digital
Super User

@chmoncayMSFT , That's great news! No more hour and minute drop downs!

Givanildo
Advocate II

When the Datepicker will be DatepickerTime

PhilGlew
Helper III

Any news when this will be available for full Dataverse?

zzzzzzzzzz
New Member

Any word on when/if this feature will make it to Power Automate?  

alyshalynn
New Member

For me, I'd like to be able to restrict dates to only the last day of any month (ideally in the future, but that's not a necessary restriction)

SPO-Learner
Regular Visitor

Great news on the migration of new capabilities mentioned ‎by @chmoncayMSFT on 11-04-2021 at 03:06 PM...over 8 months ago.  Please pay some development time to this basic functionality.  It's been written about for about 4 years on this thread alone 🤔

Anonymous_Hippo
Super User

Thank you @chmoncayMSFT  ! fluent UI date picker is awesome . Only thing that it lacks is the format property of the normal date picker control. The normal date picker control is little bit annoying to be honest :-

1.Cannot remove dates that have been selected easily

2.Need to click "OK" to select a date .

 

Restricting available dates is a very good and required feature ! please add