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

Re: DatePicker empty value

Thank you all for your responses.

Administrator
Administrator

Re: DatePicker empty value

Thank you all for your help with this issue! 

 

@TopShelf-MSFT

Naveen_R
Level: Powered On

Re: DatePicker empty value

Just clear the "Default Date" property of the date picker.

By doing this you will be able to save "empty value" to correpsoding date coulmn in sharepoint list. 

And if you explicitly choose any date in the Date picker then that date will will be saved to sharepoint list.

JohnWeb
Level: Powered On

Re: DatePicker empty value

Also having the same issue with CDS, any resolutions?

Administrator
Administrator

Re: DatePicker empty value

Hi @JohnWeb for visibility purposes, I would create a new thread for your CDS issue so the community can review and assist. Thanks!

 

@TopShelf-MSFT 

sdd
Level: Power Up

Re: DatePicker empty value

dtPicker.Text = string.Empty.  Should do the trick

dipand
Level: Powered On

Re: DatePicker empty value

 


@sdd wrote:

dtPicker.Text = string.Empty.  Should do the trick


Thats looks promising, will try that.


Thank you.

DE1
Level: Powered On

Re: DatePicker empty value

No doesn't work


@sdd wrote:

dtPicker.Text = string.Empty.  Should do the trick


 

DE1
Level: Powered On

Re: DatePicker empty value

Deleting the Format for the DateTimePicker or setting it Blank() worked for me, displays an empty DTP, instead of 2001.

 

Format -> If(Condition, Blank(), "dd/mm/yyyy")

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 360 members 4,172 guests
Please welcome our newest community members: