[jQuery] Why no entire text is replaced when I pick a date on the datepicker?

[jQuery] Why no entire text is replaced when I pick a date on the datepicker?


I have a datapicker on the date field with a format of yyyy-mm-dd.
After selecting a date on the datepicker, only a portion of the
default value is replaced. Can someone tell me what is missing and how
to resolve this problem?
Thanks very much in advance.