el gets something that is not element()
The message
MARKLESS_ELEMENT_HANDLE_REQUIRED: Cannot bind el={<handleName>} because "<handleName>" is <actual>, not an element() handle.
DOM elements are host resources. el can only bind element() handles so resume can recover the current DOM locator without serializing a DOM node.
Create a handle with element<T>() and bind that handle with el={handle}. Keep DOM-backed resources in attach={...}.
https://markless.dev/errors/MARKLESS_ELEMENT_HANDLE_REQUIREDWords in angle brackets change from case to case.
Why
The el prop only accepts a handle made with element().
Fix
Create a handle with element(), then pass it to el.
const field = element<HTMLInputElement>();<input el={field} />