A handler’s preventDefault cannot run before it loads
The message
MARKLESS_SYNC_POLICY_UNEXTRACTABLE: `<source>` detaches <action> from the event, so the compiler cannot prove when the default action is cancelled for <attributeName>.
preventDefault() and stopPropagation() must run before lazy handler symbols load; a detached reference hides which action runs and under what condition.
Call it directly on the event parameter instead of detaching <action>.
https://markless.dev/errors/MARKLESS_SYNC_POLICY_UNEXTRACTABLEWords in angle brackets change from case to case.
Why
preventDefault() and stopPropagation() must run before lazy handler symbols load; a detached reference hides which action runs and under what condition.
Fix
Call it directly on the event parameter instead of detaching <action>.