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 / Date disappears upon edit
Power Apps
Unanswered

Date disappears upon edit

(1) ShareShare
ReportReport
Posted on by 67

Hello,  

I have a power app with a form connected via sharepoint list, the date value on the from always disappears after you click on the value or try to edit the value. It's a simple date selector that automatically selects today's date when creating a record. This is what is used:  Text(Today(), "dd/mm/yy")

 

I have the same formula for a month selector and it works completely fine  Text(Today(), "mmmm") So I can't see why this may happen with the date, any suggestions? 

Categories:
I have the same question (0)
  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    Hi @Universal_Power , Use "dd/mm/yy" on the Format property of date picker control.

    ANB_0-1720187476394.png

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ 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 giving it Thumbs up.👍

    Thanks,
    ANB


  • Universal_Power Profile Picture
    67 on at

    Edited the format as you suggested but I'm still encountering the same issue

  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    @Universal_Power I hope you are using classic control ? And the DefaultDate should be just Today(). Also do you have any code on the OnChange of date picker?

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ 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 giving it Thumbs up.👍

    Thanks,
    ANB


  • Universal_Power Profile Picture
    67 on at

    When i set the default date as Today() It keeps the value. Meaning when tomorrow comes, it loads the date as a new date. That's why I had it as Text(Today(), "dd/mm/yy")[this code is on the on select property] When I do it like this, the day loads and does not switch to a new date. I don't have any code on the on change property. I'm also not using a date picker it's just an input field.

    Screenshot 2024-07-05 at 1.08.33 PM.png

  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    Hi @Universal_Power , These are very small small things that you should mention clearly in your question. As per the wording that you have mentioned, you are referring to date selector:

    ANB_0-1720200370961.png

    Now you are telling that it is input text field. This is confusing for people who are reading it for first time. ALway try to keep clear information to get quick help.

     

    Now, coming to your issue, I believe you have written  Text(Today(), "dd/mm/yy") on the HintText property of TextInput control and that is reason when you try to edit , it disappears.

     

    You should have Text(Today(), "dd/mm/yy") in the default property of TextInput control and the format can be 

    TextFormat.Text.
     
    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ 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 giving it Thumbs up.👍

    Thanks,
    ANB


  • Universal_Power Profile Picture
    67 on at

    Apologies, I see how that would be confusing, and it makes sense to put it into the default, however when I do that, I am unable to edit the date, it always switches back to the current date. Additionally there is no value in the "hint text" field

  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    @Universal_Power Could you please help me with your exact requirement?

    Why do you need InputText control with default value as today date and that too allowing users to edit the control? Also please share some screenshots with properties of controls properly visible.

     

    Thanks,

    ANB

     

     

  • Universal_Power Profile Picture
    67 on at

    Okay so for context, It's supposed to be an app that tracks feedback on an employee and you log it based on the date, person questioned and add comments notes attachments etc. I didn't use the date selector for the date but opted to use a text input because I was having issues with the date selector. Everything else works fine and the date also works fine but if I add the today() function on the default value of the date input box, the date always stays at the current date. If i add it on the on select field, it retains the appropriate date but if you try to edit said date (perhaps you made an error logging the date) it clears the field and leaves it blank. This screenshot is me having the formula for today() in the default field.

    Screenshot 2024-07-05 at 1.54.38 PM.png

  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    @Universal_Power What do you mean by on select field? Are you refereeing to OnSelect property of the Input Text control? If yes then OnSelect property will trigger the code when the control is selected.

    ANB_0-1720202823300.png

    Also what is issue you are facing with date picker control? I still didnt get end goal. I mean what do want to achieve here.

     

    Thanks,

    ANB

  • Universal_Power Profile Picture
    67 on at

    I really just want the info input here to save on my sharepoint list and be searchable through the application. Yes I was referring to the onselect property that's the only way I got to to semi work which is why I put it there, and when I used the date selector it was not saving to my sharepoint list

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 273

#3
Kalathiya Profile Picture

Kalathiya 232 Super User 2026 Season 1

Last 30 days Overall leaderboard