T025error

Directive not supported on this element

A directive is used on an element that does not support it.

p-model binds a form value, so it only works on <input>, <textarea> and <select>.

Move the directive to a supported element.

$ piko explain T025

Build 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 CodeInvalidDirectiveTarget in Piko's source to see where it is reported.