bsgriggs / mendix-unsaved-changes-message

Mendix widget to block the user from closing the browser, closing the tab, or clicking a Mendix navigation when they have unsaved changes
MIT License
1 stars 0 forks source link

Monitored control in placeholder section #1

Open odi76 opened 2 months ago

odi76 commented 2 months ago

Hi Benjamin,

Good work! I miss this capability in Mendix features very much.

I would like to apply this feature to a link (Button widget with 'link' render mode) placed into a placeholder section of the layout applied by the page. So far, without any success.

I tested the same Button in the Main section of the layout and it is working, but not in the placeholder section.

Could you help me what I miss? Or could this be a bug?

br, Istvan

bsgriggs commented 2 months ago

Hi Istvan, Did you give the button in the layout the Watching Class configured in the widget?