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 / ModernDatePicker does ...
Power Apps
Unanswered

ModernDatePicker does not reflect saved DateTime values

(1) ShareShare
ReportReport
Posted on by 5
When using a ModernDatePicker inside a Form DataCard bound to a SharePoint Date and Time column, the control does not display the persisted value after saving and reloading the record, even though the value is correctly stored in SharePoint. The same scenario works correctly when using the classic DatePicker control.

I am working with a Canvas App that uses Forms (SubmitForm) connected to a SharePoint list.

The list contains a Date and Time column.
 
The field is implemented as a DataCard inside a Form. The value is set automatically using logic in the DataCard Update property (for example, to store the timestamp of the first save).

Example:
Update:
If(
    IsBlank(ThisItem.MyDateTimeColumn);
    Now();
    ThisItem.MyDateTimeColumn
)
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    You have noted that the correct date is in SharePoint after saving the record, so the issue would not appear to be the Update of the Data Card, rather either the DefaultDate of the Date Picker or the Item of the Form not updating after the save. Can you please post (in Text) these two values. If the DefaultDate is Parent.Default, what is the Default of the Data Card. If the Item of the Form is a variable, how and when is this updated.
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  
  • Vish WR Profile Picture
    3,748 on at

    Hi,

    I don’t see anything wrong with how you are saving the data. The issue is with the Modern Date Picker control.

    The date is saved correctly in SharePoint, but when the form reloads, the Modern Date Picker doesn’t show the saved value.

    This might be a known limitation with the Modern control.

    You only need to change two things. In your DataCard Update property, use this:

    Coalesce(ThisItem.MyDateTimeColumn, Now())

    This will:

    • Keep the existing value if it already exists
    • Only set the date the first time
     
     
      Vishnu WR
     
     
    Please âœ… Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like â™¥
     
     
     
  • WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    A quick follow-up to see if you received the answer you were looking for. Happy to assist further if not.
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like â™¥
    Visit my blog
    Practical Power Apps    LinkedIn   

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 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard