If you used jquery datePicker use this way,

$('#eDate').datepicker({ format: 'mm/dd/yyyy', autoclose: true,
todayHighlight: true, gotoCurrent: true});

Please check it and update here.

On Mon, Jun 13, 2016 at 3:41 PM, Sitharthan Velsamy Kumar <
[email protected]> wrote:

> I already face this problem. Are you using jquery datepicker for that?
>
> On Mon, Jun 13, 2016 at 3:33 PM, Sitharthan Velsamy Kumar <
> [email protected]> wrote:
>
>> You have used Any plugins for datepicker ?
>>
>>
>> On Mon, Jun 13, 2016 at 11:25 AM, sri devi <[email protected]>
>> wrote:
>>
>>> Hi, I need to set Date Selected Mode in Angular2.
>>> Here is My code,
>>>
>>> <input type="text" class="form-control date_cursor" id="eDate"
>>> name="empDate"  value="*06/11/2016*" placeholder="MM/DD/YYYY"/>
>>> <span class="input-group-addon add-on">
>>>     <span class="glyphicon glyphicon-calendar"></span>
>>> </span> (*its working*) (1.jpg)
>>>
>>>
>>> <https://lh3.googleusercontent.com/-1_PeVT07Gp8/V15KGDpBm-I/AAAAAAAANvg/nOjySv_FBfgXXqMJEH-LcJnGpIgOOgnowCLcB/s1600/1.png>
>>>
>>> <input type="text" class="form-control date_cursor" id="eDate"
>>> name="empDate"  value="{{*testDate | date:'MM/dd/yyyy*'}}"
>>> placeholder="MM/DD/YYYY"/>
>>> <span class="input-group-addon add-on">
>>>     <span class="glyphicon glyphicon-calendar"></span>
>>> </span> (*its not working*) (2.jpg)
>>>
>>>
>>> <https://lh3.googleusercontent.com/-vQdzyug-KX0/V15KbZBrM6I/AAAAAAAANvo/sgOk_8bkdiUlueEGFLtwMTExuvUtqwkWwCLcB/s1600/2.png>
>>>
>>>
>>> Anyone please help me... In angular2, I need to set "Date" Selected Mode
>>> in Datepicker .
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "AngularJS" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/angular.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Thanks & Regards,
>> Sitharthan V K
>>
>
>
>
> --
> Thanks & Regards,
> Sitharthan V K
>



-- 
Thanks & Regards,
Sitharthan V K

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to