Testing Angular and Primeng p-confirmPopup #23243
Unanswered
tecob1234
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Attempting to test the Yes option on a Primeng p-confirmPopup. When finding and clicking the Yes button, I receive many errors such as
TypeError: Cannot read properties of null (reading 'icon')
. How do I pass the object that is expected when the Yes button is selected?confirmationService.confirm({ target: event.target, message: 'Are you sure that you would like to remove this ?', icon: 'pi pi-exclamation-triangle', accept: () => { .....
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions