Skip to main content

Notifications

Power Apps - Building Power Apps
Suggested answer

Date picker text value

Posted on 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 at
    Date picker text value
    Patch(
        'YourSharePointListname',
        Defaults('YourSharePointListname'),
        {
           
            StartDate:DatePicker.selectedDate
        }
    );
  • Suggested answer
    jpespena Profile Picture
    jpespena 294 on at
    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 at
    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,591

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,090

Leaderboard