You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This sample application demonstrates an issue with the reactive update of the date format in a primeNG component.
Problem Description
When the date format is changed (e.g., from European format dd/mm/yy to American format mm/dd/yy), the datepicker component does not immediately reflect the change. The user needs to re-select the date for the new format to be applied. So this behavior is not fully reactive.
Steps to Reproduce
Select a date in the datepicker.
Change the date format using the provided buttons.
Observe that the displayed date does not update to the new format until the date is re-selected.
Expected Behavior
The datepicker should update the displayed date immediately when the format is changed, without requiring the user to re-select the date.
Below
The text was updated successfully, but these errors were encountered:
confirm the problem by configuring a different locale from us in angulat.json:
......
"i18n": {
"sourceLocale": "it",
"locales": {
"it-IT": {
"translation": "src/locale/messages.it.xlf",
"baseHref": ""
}
}
}
.......,
Date Format Update Issue in PrimeNG Datepicker
This sample application demonstrates an issue with the reactive update of the date format in a primeNG component.
Problem Description
When the date format is changed (e.g., from European format
dd/mm/yy
to American formatmm/dd/yy
), the datepicker component does not immediately reflect the change. The user needs to re-select the date for the new format to be applied. So this behavior is not fully reactive.Steps to Reproduce
Expected Behavior
The datepicker should update the displayed date immediately when the format is changed, without requiring the user to re-select the date.
Below
The text was updated successfully, but these errors were encountered: