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 Apps
Unanswered

how to block dates

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

I would like to block the user from selecting on dates pass today. For example, they can only select up to today and not further.

sophiatheresa74_0-1711025263057.png

 

Categories:
I have the same question (0)
  • v-mengmli-msft Profile Picture
    on at

    Hi @sophiatheresa74 ,

     

    The date picker doesn't support block some dates, but you can use Reset function to clear selected date which passes today.

    Please try this.

    OnChange of date picker.

    If(Self.SelectedDate>Today(),Reset(Self)&&Notify("Please select another date"))

     

    Best regards,

    Rimmon

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard