Date control doesn't work

We’re trying to upgrade to PEGA 8.7 with Cosmos UI.

And we found that the Date control doesn’t work.

The date pick icon doesn’t showing, and a alt message was displayed as well.

Does anyone have idea for this iseue?

Thanks very much.

@GAVINHSU I don’t think so there might be much significant changes in 8.7.

Is this an OOTB date control?

Can you compare the UI Dev Tools code?

Can you also verify if it uses pxDateTime control?

Also check the image of control in HTML tab in your property control, do u still can’t see the icon over there? Property>UI Control>HTML>Control Image.

Thanks.

@AkshithReddyT

Thanks for help.

And Yes, we’re trying to use OOTB control, which is pxDateTime.

I’ve checked the image of control in HTML tab, there’s a image configured: images/pz-date-time-active.svg; and I can see the image well. But it seems the image specified here isn’t used in the user portal.

And the generated HTML code of user portal as below:

<img src=“name=‘CalendarImg-72fd9b28’” class=“inactvIcon” data-ctl=“[“DatePicker”]” style=“cursor:pointer;” tabindex=“0” role=“button” alt=“Choose from calendar”>

@GAVINHSU Fianlly, we’ve found the root cause. Because the requestor’s default locale was set with wrong format. The calendar works find after reset the user’s default locale. FYI.