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 Control Date Pi...
Power Apps
Unanswered

Modern Control Date Picker not Updating

(1) ShareShare
ReportReport
Posted on by 53

Hi All,

 

I'm having a problem with the Modern Date Picker control not accepting changes.  I am setting the SelectedDate (which I assume is the DefaultDate) to a date value that I lookup from a collection.

 

NotOnUrNelly7_0-1701774197581.png

When I come to change the date from the 23rd March 2023 to another date the Date picker defaults back to 23rd March 2023.

 

I have also changed the IsEditable property to true and this had no effect.

 

The date picker does allow updates when I  use a gallery Selected property as the SelectedDate and also works if I set the SelectedDate to Today().

 

NotOnUrNelly7_1-1701774520739.png

Has anyone experienced a similar issue or can anyone provide any advice?

 

Many Thanks

 

 

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

    Hi @NotOnUrNelly7 ,

     

    Could you please share more details about your scenario? What's the Items of the Gallery? I'm wondering why there is a Value column in this collection and a fixed value for the LineNum column. Could you explain the situation for me please?

     

    Best regards,

  • NotOnUrNelly7 Profile Picture
    53 on at

    Thank you for your reply @v-jefferni,

    I have simplified the gallery items to a simple collection and set the Selected Date to a date field in the gallery as below.

     

    NotOnUrNelly7_0-1701938747782.png

    I have set the SelectedDate property to ThisItem.InstallDate rather than using a lookup as in the original post and this worked YESTERDAY :(.   The datepicker allowed me to change the dates.

    I have the need to build a similar gallery this morning and the DatePicker will not let me change the Date which is awfully strange.

     

    NotOnUrNelly7_1-1701938937930.png

     

    please note both of these DatePicker controls are being used within components as the galleries are required across multiple screens.

    I'm very confused as to why this worked yesterday and not today.

    Hope you can help.

     

     

     

     

  • NotOnUrNelly7 Profile Picture
    53 on at

    A quick update on this one!

    I rebuilt my component from scratch last week and the Modern Date Picker was working fine, I could set the selectedDate to the Gallery Item (ThisItem.InstallDate) and I could then change it and it allowed me to update the date..   This continued to work for a week in my new component but still did not update in my original component.

    All of a sudden the date picker has stopped allowing me to change its value in my new component if it has already been set to a variable or a gallery item using SelectedDate.

    I have now replaced the modern control with the old date picker control until the Modern Date Picker is more stable within components.

    Has anyone else experienced the same problem?

  • v-jefferni Profile Picture
    on at

    Hi @NotOnUrNelly7 ,

     

    I'm not able to reproduce the issue. Please consider raise a ticket in admin center:

    Help + support | Power Platform admin center (microsoft.com)

     

    Best regards,

  • _JARVIS Profile Picture
    2 on at

    Date Picker moder control does not work properly when it is inserted into a Gallery. I noticed that it works well out of a Gallery.

  • Pooo Profile Picture
    8 on at
    I have the same issue with the modern date picker. It is not working if it is placed in a flexible height gallery. 
  • mullens Profile Picture
    2 on at
    I am also seeing the same issue: custom page in MDA, flexible height gallery, neither classic nor modern datepicker work. 

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