ConfirmDialog and ConfirmPopup: Missing accept/reject labels #6075
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Due to invalid
if
statements inConfirmDialog
andConfirmPopup
, the default labels for accept and reject actions are not returned, causing the component to display empty buttons.Reproducer
https://stackblitz.com/edit/primevue-missing-confirmation-labels?file=src%2FApp.vue
PrimeVue version
4.0.0
Vue version
3.x
Language
ALL
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
confirm.require()
withoutacceptProps
/acceptLabel
/rejectProps
/rejectLabel
Expected behavior
According to the docs, the default values for the labels should be inherited from the Primevue's locale (
$primevue.config.locale.reject
and$primevue.config.locale.accept
)The text was updated successfully, but these errors were encountered: