Page 1 of 1

maximizable not working on dialog

Posted: 20 Oct 2018, 18:07
by krisp
Using the p-dialog in the Harmony theme I'm getting an error when I try to set the maximizable property to true.

"Uncaught TypeError: Cannot read property 'nativeElement' of undefined
at Dialog.push../node_modules/primeng/components/dialog/dialog.js.Dialog.maximize (dialog.js:214)
at Dialog.push../node_modules/primeng/components/dialog/dialog.js.Dialog.toggleMaximize (dialog.js:200)..."

I'm using Harmony 6.0.0

Please advise if this is a known issue or this can be fixed now. Thank you.

Re: maximizable not working on dialog

Posted: 22 Oct 2018, 13:53
by merve7
Please, could you try with Harmony 6.1.0 and PrimeNG 6.1.1. We fixed this issue in PrimeNG 6.1.1