Referring to the example for PrimeFaces to create a modal dialog, http://www.primefaces.org/showcase/ui/dialog.jsf
This creates a modal dialog with a 'X' close button at the right corner. I want a solution to disable this close button for PrimeFaces dialog.
Any help will be much appreciated.
You can just add closable="false"
to your p:dialog
. Then you will not have the 'X' close Button.
You can use this way: [closable]="false"
to your <p-dialog>
, because primeNg is expecting it as a key of the object.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With