Runtime Error

SseFormNotFound

No form with the provided selector could be found in the DOM. When specifying a form selector using the selector option in the @get() action, the form must already exist in the DOM.

Example:

1<button data-on-click={ "@" + action + "('/endpoint', {contentType: 'form', selector: '#myform'})" }></button>

See the docs for the @get() action.