Error opening modal from headerActions
Everything works perfectly but I have a small problem when I click on CreateAction of the HeaderAction. The first time I click on it I get an error and if I click on it again the modal with the information appears.
It's as if the first time the modal wasn't loaded and then it opens. What am I doing wrong?
The error in the console is the following:
VM71003:21 Uncaught TypeError: Cannot read properties of undefined (reading 'dispatchEvent')
I have this action in mi UsersRelationManager:
It's as if the first time the modal wasn't loaded and then it opens. What am I doing wrong?
The error in the console is the following:
VM71003:21 Uncaught TypeError: Cannot read properties of undefined (reading 'dispatchEvent')
I have this action in mi UsersRelationManager: