Closed JoseAntonioNavasSolutia closed 3 weeks ago
I have a <dialog :pt="{ root: ({}) => ({ id: ${id}, 'aria-labelledby': titulo-modal-${id}, 'aria-describedby': props?.conInfo ? descripcion-modal-${id} : undefined, }), pcCloseButton: ({}) => ({ 'data-testid': 'cerrarModal', onclick: (evt) => { cerrarModal(); }, }), }" but pcCloseButton not working.
${id}
titulo-modal-${id}
descripcion-modal-${id}
https://stackblitz.com/edit/5oxyf8?file=src%2FApp.vue
4.0.0
4.x
TypeScript
Vue CLI App
No response
Current implementation is correct.
Thanks for your contribution.
Describe the bug
I have a <dialog :pt="{ root: ({}) => ({ id:
${id}
, 'aria-labelledby':titulo-modal-${id}
, 'aria-describedby': props?.conInfo ?descripcion-modal-${id}
: undefined, }), pcCloseButton: ({}) => ({ 'data-testid': 'cerrarModal', onclick: (evt) => { cerrarModal(); }, }), }" but pcCloseButton not working.Reproducer
https://stackblitz.com/edit/5oxyf8?file=src%2FApp.vue
PrimeVue version
4.0.0
Vue version
4.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response