Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Modern Date Picker Limit

(0) ShareShare
ReportReport
Posted on by 227

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

  • collinktx Profile Picture
    227 on at
    Re: Modern Date Picker Limit

    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

  • Verified answer
    Mike2500 Profile Picture
    1,247 Super User 2024 Season 1 on at
    Re: Modern Date Picker Limit

    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.

  • Michael E. Gernaey Profile Picture
    44,142 Super User 2025 Season 1 on at
    Re: Modern Date Picker Limit

    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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1