Skip to main content

Notifications

Power Apps - Building Power Apps
Suggested answer

Date picker text value

Posted on 24 Nov 2024 22:56:28 by
Hi All, 
 
I have a enabled the 'IsEditable' option for the date picker field so the user can type the required date, however when they try to patch the date to SharePoint it doesn't patch anything, is there a way to patch the text value of the date picker or another way to do this? 
Categories:
  • Arun K Rajan Profile Picture
    Arun K Rajan 2 on 25 Nov 2024 at 11:11:16
    Date picker text value
    Patch(
        'YourSharePointListname',
        Defaults('YourSharePointListname'),
        {
           
            StartDate:DatePicker.selectedDate
        }
    );
  • Suggested answer
    jpespena Profile Picture
    jpespena 254 on 25 Nov 2024 at 11:05:59
    Date picker text value
    Hi,
     
    It should be able to patch as long as the value is 
    DatePickerCanvas1.SelectedDate
     
  • Meekou Profile Picture
    Meekou 132 on 25 Nov 2024 at 02:34:35
    Date picker text value
    Could you share more details about your issue?
    I made a test with Datepicker with IsEditable as true, it is able to Patch to SharePoint.
    What do you mean by Patch text value? Even if you enabled IsEditable, it still is date value.
    If you want to patch text value, you will need to convert it to Date by Date function.
    Regards,
    Meekou

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,246

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,884

Leaderboard