Dynamic event on content page load

Wappler Version : 4.5.2
Operating System : N/A
Server Model: N/A
Database Type: N/A
Hosting Type: N/A

Expected behavior

Dynamic events (onload and onready) are not available in the UI for a content page and code is not added to the header.

<!-- Wappler include head-page="layouts/auth" appconnect="local" is="dmx-app" bootstrap5="custom" fontawesome_5pro="local" id="signup" dmx-on:load="toast.show({message: 'test'})" -->

Actual behavior

The event is available in the UI and the header is modified.

How to reproduce

Just add a simple dynamic event for a content page.

It has been mentioned that it should not be available in the UI, but actually I think it’s not a bad idea to implement it.