Hi,
I am trying to display a modal dialog where sometimes it can closeOnEscape and sometimes not. But, it does not seem to be properly binding:
export class DialogDemo {
canEsc: boolean = false;
}
<p-dialog [closeOnEscape]="canEsc">
// content
</p-dialog>
I have tried every combination of bindings I can think of and it does not bind properly.
Any suggestions?
Cannot bind dialog closeOnEscape to property
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
It is not possible right now, the value is evaluated only once.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests