How to display placeholder for date input field i am using Controls\DatePicker it displays current date 


Hi Jai,

You can find the details about the datepicker component here;

https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Web_Patterns/Controls/DatePicker

The original component project is here;
https://github.com/Pikaday/Pikaday

You should override setDefaultDate property. The default value is True you need to set False.
Then you can add a placeholder to your input "Prompt" property.

Ferhat Karatay

Hi Jai,

You can use Custom Masks Component.

 https://www.outsystems.com/forge/component-overview/647/custom-masks.

Default Date Format will be dd-mm-yyyy you can change as you required.

Even Set Date Format Property of Date Picker.

 

Pratham