date picker item doesn't change it's display text if we change the date value by external means. in my case when the next day or previous day buttons are clicked.
i think it's because of using _getFormattedDate(date, placeholder, locale) function which doesn't get called when the date changes.
possible fix :
have an extra formattedDate property computed from date property and data bind that property to paper-item-body
Hi,
date picker item doesn't change it's display text if we change the date value by external means. in my case when the next day or previous day buttons are clicked.
i think it's because of using
_getFormattedDate(date, placeholder, locale)
function which doesn't get called when the date changes.possible fix :
have an extra
formattedDate
property computed fromdate
property and data bind that property topaper-item-body