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 Platform Community / Forums / Power Apps / Modern Date Picker Limit
Power Apps
Unanswered

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,335 Super User 2025 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard