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 / Creator Kit Date Picke...
Power Apps
Unanswered

Creator Kit Date Picker Hide OnChange

(0) ShareShare
ReportReport
Posted on by 1,207

I'm using the date picker from the Creator Kit. I have a text input that displays the selected date. In the text input OnSelect property I am setting a variable to make the calendar visible.

 

When I first click on txtDateEntry it briefly displays the calendar then immediately hides. It is obviously triggering the OnChange just by clicking on txtDateEntry. Subsequent clicks on txtDateEntry display the calendar and it doesn't hide until a date is selected. I can't work out how to prevent this happening.

 

Screen Shot 2022-12-06 at 15.21.16.png

 

txtDateEntry.OnSelect

UpdateContext({varShowCal: true})

 

Calendar1.Visible

varShowCal

 

Calendar1.OnChange

UpdateContext({varShowCal: false})

 

 

 

Categories:
I have the same question (0)
  • Scott_Parker Profile Picture
    1,090 on at

    My guess is this is an issue with the default value of the date picker. Suppose the value is initially Blank(). When the date picker appears, the value changes to whatever the current date is, thus triggering the OnChange event. On subsequent appearances of the date picker, the value is already initialized so the OnChange event wouldn't fire until the user selects a date.

     

    Granted, that I haven't used the date picker, but I would look for a default value property you could set.

  • CU22040918-0 Profile Picture
    195 on at

    Absolutely the same issue!!!  Any solutions found?

     

    Nelson

  • CU22040918-0 Profile Picture
    195 on at

    A new bug issue raised!   + visibility! 

    https://github.com/microsoft/powercat-creator-kit/issues/310

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 413

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
timl Profile Picture

timl 315 Super User 2026 Season 1

Last 30 days Overall leaderboard