Runtime Error
OnKeyRequired
No key was provided to the data-on
attribute.
The data-on
attribute must have a key representing the event listener to attach to the element, and a value representing an expression to execute when the event listener is triggered.
Example:
1<button data-on-click="alert($foo)">Click Me</button>
See the docs for the data-on
attribute.