T119error
$event or $form misused
$event or $form is used outside an event handler, or used in a way it does not support.
When it is reported
$event and $form only exist inside p-on and p-event handlers, and are passed whole: reading a property from them in the template is not supported. The browser's own event object is $event, not event.
How to fix it
Pass $event or $form whole to the handler, and read their properties inside it.
In your terminal and editor
$ piko explain T119Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodeEventPlaceholderMisuse in Piko's source to see where it is reported.