Confirm Dialog change and localize buttons text #60
Answered
by
tugcekucukoglu
luis-Applicationcare
asked this question in
PrimeVue
-
Hello, Is it possible to change the text of the "Yes" "No" buttons in a simple way? I checked the documentation and I can't find the way. Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
tugcekucukoglu
Sep 18, 2023
Replies: 1 comment
-
Hello, For ConfirmDialog to work, the
If you are already using PrimeVue Locale, just change the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tugcekucukoglu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
For ConfirmDialog to work, the
require
method of the$confirm
instance that does all the configuration must be called. This is where the button labels can be changed. According to your question, these areacceptLabel
andrejectLabel
.If you are already using PrimeVue Locale, just change the
accept
andreject
options.