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


 

Highlighted
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
thirdimage

Power Automate 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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 430 members 6,728 guests
Please welcome our newest community members: