How to Display Wijmo Input Date control with empty place holder

Posted by: aanjaneyulu on 14 September 2017, 12:06 pm EST

    • Post Options:
    • Link

    Posted 14 September 2017, 12:06 pm EST

    We are currently using Wijmo 5 for Components, Google Material Design Lite for CSS, NodeJS for Server & SQL Server for Database and angular 2 with type script for developing code

    we are using wijmo input date control, in this the date control display the current date as place holder.

    But we want empty place holder.Could you please provide sample fiddle in angular2 with type script

    see the below image

  • Posted 14 September 2017, 12:06 pm EST

    Hi,

    To display empty placeholder in InputDate, you need to set the isRequired property to false. And set value to null.

    For your reference, please use the following code snippet for the same:

    <wj-input-date [isRequired]="false"
                   [(value)]="selectedDate">
    </wj-input-date>
    
    //TS 
    class AppCmp{ 
         public selectedDate:any= null;
    }

    Thanks,

    Manish Kumar Gupta

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels