Element() handle is bound more than once
The message
MARKLESS_ELEMENT_HANDLE_DUPLICATE: Cannot bind element handle "<handleName>" inside a keyed repeat because one authored handle would point at many row host elements. markless debugging playbook: run the doctor script (npm run doctor), or read agent/markless.md in the installed @markless/core package
Each repeated row has its own DOM locator, so one handle declared as a single element cannot say which row it means.
Declare the handle as an ordered set by widening its type argument to an array - element<HTMLElement[]>() - written literally as T[], Array<T> or readonly T[]. Reads then answer every bound element in document order. Otherwise create a separate element() handle for each host element.
MARKLESS_ELEMENT_HANDLE_DUPLICATE: Cannot bind element handle "<handleName>" to multiple live host elements. markless debugging playbook: run the doctor script (npm run doctor), or read agent/markless.md in the installed @markless/core package
A resumed element handle declared as a single element must resolve to one current DOM locator. Binding it to multiple live elements would make lazy event code ambiguous.
Declare the handle as an ordered set by widening its type argument to an array - element<HTMLElement[]>() - written literally as T[], Array<T> or readonly T[]. Reads then answer every bound element in document order. Otherwise create a separate element() handle for each host element.
https://markless.dev/errors/MARKLESS_ELEMENT_HANDLE_DUPLICATEWords in angle brackets change from case to case.
Why
Each repeated row has its own DOM locator, so one handle declared as a single element cannot say which row it means.
Fix
Declare the handle as an ordered set by widening its type argument to an array - element<HTMLElement[]>() - written literally as T[], Array<T> or readonly T[]. Reads then answer every bound element in document order. Otherwise create a separate element() handle for each host element.