cancel
Showing results for 
Search instead for 
Did you mean: 

Date Picker - Needs a "HintText" property

The Date Picker control needs a "HintText" property.

 

I have created a customized SharePoint form in PowerApps, and I have two fields on the SharePoint list: "Commencement Date" and "End Date".  The fields are not mandatory, and have been configured with a default of "(None)".

 

When you go to create a new list item, the customized PowerApps form appears, and for each date field it shows a hint text of "31/12/2001" (The date format for the date pickers was set to "dd/mm/yyyy").  This is confusing users, as they are trying to specify "No Date" somehow.

 

It's also confusing them even more when they view an existing list item, because even though no date was set, it's still showing as "31/12/2001".  Even though the date appears greyed out, it's not obvious to the user that "no date" was set.

 

Form in Edit ModeForm in Edit ModeForm in Display ModeForm in Display Mode

 'By adding a "HintText" property, instructions could be placed in the picker, such as "select a commencement date". Then in display mode, if nothing is selected, the HintText is not shown so that the viewing user is not confused.

Status: Under Review

Updating status and adding @FilipK

Comments
brettbollenbach
New Member

@tism 

 

Solved: Since you created this post, they added a new property called "InputTextPlaceholder" to the value property.

 

If you just set this to blank instead of their "12/31/2001" placeholder then it makes the dumb default text go away. 

ProfileSanford
Frequent Visitor

I am having the same issue.  How do you set it to "blank".  If I delete out the "InputTextPlaceholder" then everything looks fine but I can't save any changes when using SubmitForm.  I get an error "the specified column is read only".

adamparker1
New Member

I'm having a similar issue. 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. How do you set InputTextPlaceholder to "blank"?

 

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.