cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnjohn123
Post Prodigy
Post Prodigy

SharePoint Date field is showing with a default value = 12/31/2001

I have the following field inside sharepoint:-

ProjectETa.png

 

where the field does not have a default value, but this field will be shown as follow inside my power app create form:0

Projecteta_2.png

 

so why it is showing a default value of 12/31/2001!!

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User
Super User

@johnjohn123 

The date shown in your DatePicker is only a hint showing what format the date should be entered in.  You'll find it in the InputPlaceHolderText property.

 

...

 

You have opened several different threads (including this one) in the past few hours. By opening so many posts on the same them it is hard to know what you want.

 

I suggest you go back and work through them before asking more questions.  The solution to one of these questions could change your app and make the rest of the questions irrelevant.

 

Or, if you are done with those threads suggest you go back and Accept as Solution for any posts that led to an answer.

 

#1  https://powerusers.microsoft.com/t5/Building-Power-Apps/What-happen-if-we-have-a-Required-field-insi...

 

#2  https://powerusers.microsoft.com/t5/Building-Power-Apps/What-are-the-properties-that-will-get-overri...

 

#3  https://powerusers.microsoft.com/t5/Building-Power-Apps/Set-a-default-value-for-my-Drop-down-list-wh...

 

#4 https://powerusers.microsoft.com/t5/Building-Power-Apps/Does-PowerApp-support-sharepoint-Multiple-li...

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

3 REPLIES 3
mdevaney
Super User
Super User

@johnjohn123 

The date shown in your DatePicker is only a hint showing what format the date should be entered in.  You'll find it in the InputPlaceHolderText property.

 

...

 

You have opened several different threads (including this one) in the past few hours. By opening so many posts on the same them it is hard to know what you want.

 

I suggest you go back and work through them before asking more questions.  The solution to one of these questions could change your app and make the rest of the questions irrelevant.

 

Or, if you are done with those threads suggest you go back and Accept as Solution for any posts that led to an answer.

 

#1  https://powerusers.microsoft.com/t5/Building-Power-Apps/What-happen-if-we-have-a-Required-field-insi...

 

#2  https://powerusers.microsoft.com/t5/Building-Power-Apps/What-are-the-properties-that-will-get-overri...

 

#3  https://powerusers.microsoft.com/t5/Building-Power-Apps/Set-a-default-value-for-my-Drop-down-list-wh...

 

#4 https://powerusers.microsoft.com/t5/Building-Power-Apps/Does-PowerApp-support-sharepoint-Multiple-li...

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

How do you set the InputTextPlaceholder field to "blank"?  I deleted all the text in the InputTextPlaceholder field and am able to publish changes, but the date "12/31/2001" still shows when I view an existing list item.

 

UPDATE: I only updated the InputTextPlaceholder field for the CreateItem form. I forgot to update the "EditItem" and "ShowItem" forms as well. Deleting all the text in the InputTextPlaceholder field works as expected.

plucas
Frequent Visitor

It's correct that when you erase the value for the placeholder property this value is gone, therefore this is the correct answer, thanks for that. However, if this is a placeholder for giving hints on how to enter data in this field (which is no doubt a very useful thing) why is it also shown in view mode? Shouldn't this only be shown in new/edit mode?

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,813)