Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Modern Control Date Picker not Updating

(1) ShareShare
ReportReport
Posted on by 22

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:
  • mullens Profile Picture
    2 on at
    Modern Control Date Picker not Updating
    I am also seeing the same issue: custom page in MDA, flexible height gallery, neither classic nor modern datepicker work. 
  • Pooo Profile Picture
    8 on at
    Modern Control Date Picker not Updating
    I have the same issue with the modern date picker. It is not working if it is placed in a flexible height gallery. 
  • _JARVIS Profile Picture
    2 on at
    Re: Modern Control Date Picker not Updating

    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.

  • v-jefferni Profile Picture
    on at
    Re: Modern Control Date Picker not Updating

    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,

  • NotOnUrNelly7 Profile Picture
    22 on at
    Re: Modern Control Date Picker not Updating

    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?

  • NotOnUrNelly7 Profile Picture
    22 on at
    Re: Modern Control Date Picker not Updating

    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.

     

     

     

     

  • v-jefferni Profile Picture
    on at
    Re: Modern Control Date Picker not Updating

    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,

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard