date picker bug after ajax refresh ?

Hi,

I'm getting this strange behavior:

After an ajax refresh on a date field with input_calendar, the date picker is not shown when i click on the input.

This is  v11 bug  ?

Thanks


Solution

Hi dco,

When you ajax refresh a widget, the ID is replaced by a new one.

As the calendar widget is bound to the widget through its ID, now it will not show up anymore as the "old" input does not exist anymore in the HTML.

Just ajax refresh both the input and the calendar in the same call to Ajax Refresh (you can envelop them in a container and name it, for example).

Cheers.

Solution

Hi dco,

Are you refreshing also the input calendar?

Regards,

Marcelo

Marcelo and Eduardo,

I wasn't refreshing the input calendar.


Thanks for you support.