web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Modern Date Picker Limit
Power Apps
Answered

Modern Date Picker Limit

(0) ShareShare
ReportReport
Posted on by 232

Hello Power Apps Community,

 

I have previously received help with limiting my modern date picker to only allow selected dates if they match the weekdays selected from a ComboBox. This was done by my ComboBox's Item Property set to:

 

 

Table(
 {Value:"Sunday",ID:1},
 {Value:"Monday",ID:2},
 {Value:"Tuesday",ID:3},
 {Value:"Wednesday",ID:4},
 {Value:"Thursday",ID:5},
 {Value:"Friday",ID:6},
 {Value:"Saturday",ID:7}
)

 

 

Then the OnChange of the Date Picker was set to:

 

 

If(
 !(Weekday(Self.SelectedDate) in cbActivityMeetingDays_NR.SelectedItems.ID),
 Reset(Self);
 Notify("Date day must match Activity Meeting Day(s).")
)

 

 

 

This is not working now. I tried creating a new ComboBox, New Modern Date Picker and a Classic Date Picker. Still does not work. Could something have been updated or not working? Is there another way to accomplish this?

 

Thanks,

 

Collin

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,968 Super User 2026 Season 2 on at

    Hi,

     

    I would have to see your code, but there is no reason it would be broken, I use this strategy in many places still.


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Verified answer
    Mike2500 Profile Picture
    1,247 Super User 2024 Season 1 on at

    I just tried this and it also didn't work for me. I replaced "self" with the control name, and the reset works, and the notify mostly works, but the notify seems to be a little flaky in that it appears when it shouldn't after changing the dates from a bad date to a good one.

  • collinktx Profile Picture
    232 on at

    Hey @Mike2500  and @FLMike ,

     

    It looks like it is a flaky notify after further testing on my side. Thank you for your replies and help.

     

    Collin

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard