cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
hurs0047
Level: Powered On

Date and Time Update to Sharepoint Resetting Time Dropdown

I have an app created from a sharepoint list where I am using my browse gallery to update the list with a date picker and time dropdown.  I have the date picker and dropdown in my browse gallery.  I was trying to keep it here instead of in the edit screen for ease of use.

 

I have the Update of my data card on my edit screen set to the following.

DatePicker2.SelectedDate + Time(Value(HourDropdown.Selected.Value), 0, 0)

 

When I submit my edit form using submitform function the HourDropdown resets to a Default Value of 1 and updates my sharepoint list to 1 am instead of the Value I picked.  I have tried to set my Default on the dropdown to false or blank but it didnt work.  Is there a way to prevent it from resetting?

1 ACCEPTED SOLUTION

Accepted Solutions
hurs0047
Level: Powered On

Re: Date and Time Update to Sharepoint Resetting Time Dropdown

I solved by setting my Default on my dropdown list as the following.

 

Hour(DateTimeValue(ThisItem.act_start_date))

 

Where "act_start_date" is my sharepoint column

View solution in original post

1 REPLY 1
hurs0047
Level: Powered On

Re: Date and Time Update to Sharepoint Resetting Time Dropdown

I solved by setting my Default on my dropdown list as the following.

 

Hour(DateTimeValue(ThisItem.act_start_date))

 

Where "act_start_date" is my sharepoint column

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,723)