cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Datapicker default value no reset

is it possible that the Datapicker defaultvalue be the value of the field saved previously?

 

Now the defaultvaule is: "If(IsBlank(Fecha);Today();Fecha)"

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Datapicker default value no reset

Sorry, I thought you were using Custom Sharepoint PowerApps. The control I was referring is this one:2018-06-18_17-02-34.png

 

 

View solution in original post

7 REPLIES 7
Highlighted
Helper II
Helper II

Re: Datapicker default value no reset

So, you want to keep the value that the user select on the datapicker after you submit the form data for example?

Or you want to reset it to the initial value?

 

Regards.

Highlighted
Helper I
Helper I

Re: Datapicker default value no reset

Exactly, I want to keep the value that the user select on the datapicker after submit the form data.

Highlighted

Re: Datapicker default value no reset

You could do this:

 

DatePicker:

OnChange:

Set(Fecha, Picker.SelectedDate)

 

Default: 

If(IsBlank(Fecha), Parent.Default, Fecha)

I just tested this on a Sharepoint List Form PowerApps and it works.

Highlighted
Helper I
Helper I

Re: Datapicker default value no reset

Yes, it works correctly when I create a new item but it changes the value when the form is in edit mode.

Highlighted

Re: Datapicker default value no reset

Hmmm mine doesn't change whatever I do... check your OnEdit in the SharepointIntegration control or maybe something else that's being triggered on the Edit event.

Highlighted
Helper I
Helper I

Re: Datapicker default value no reset

Forgive mi ignorance, where is the SharepointIntegration control?

Highlighted

Re: Datapicker default value no reset

Sorry, I thought you were using Custom Sharepoint PowerApps. The control I was referring is this one:2018-06-18_17-02-34.png

 

 

View solution in original post

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,913)