[{"data":1,"prerenderedAt":93},["ShallowReactive",2],{"content-\u002Fe\u002Faf05":3},{"id":4,"title":5,"body":6,"condition":84,"description":85,"extension":86,"meta":87,"navigation":88,"path":89,"seo":90,"stem":91,"__hash__":92},"errors\u002Fe\u002Faf05.md","AF05",{"type":7,"value":8,"toc":78},"minimark",[9,13,25,28,38,41,46,56,60,70],[10,11,5],"h1",{"id":12},"af05",[14,15,16],"p",{},[17,18,19,20,24],"strong",{},"The form key you passed starts with ",[21,22,23],"code",{},"__atta:",", a namespace Attaform reserves for itself.",[14,26,27],{},"In development this reads:",[29,30,31],"blockquote",{},[14,32,33,37],{},[34,35,36],"span",{},"attaform"," Form key \"**atta:checkout\" uses the reserved \"**atta:\" namespace. Use a different prefix — \"__atta:\" is for library-internal synthetic keys (anonymous useForm() calls without an explicit key).",[14,39,40],{},"The production message appends the offending key after the code.",[42,43,45],"h2",{"id":44},"what-happened","What happened",[14,47,48,49,52,53,55],{},"Anonymous ",[21,50,51],{},"useForm()"," calls get a generated key in the ",[21,54,23],{}," namespace so they never collide with yours. A consumer-supplied key inside that namespace could collide with a generated one, silently sharing state between two unrelated forms, so Attaform rejects it at construction.",[42,57,59],{"id":58},"how-to-fix-it","How to fix it",[14,61,62,63,65,66,69],{},"Rename the key. Anything outside ",[21,64,23],{}," works: ",[21,67,68],{},"useForm({ schema, key: 'checkout' })",".",[14,71,72,77],{},[73,74,76],"a",{"href":75},"\u002Fdocs\u002Fcross-cutting-state\u002Finject-form","injectForm"," covers what form keys are for and how a key resolves.",{"title":79,"searchDepth":80,"depth":80,"links":81},"",2,[82,83],{"id":44,"depth":80,"text":45},{"id":58,"depth":80,"text":59},"A form key uses the reserved `__atta:` namespace","A useForm key starts with the reserved __atta prefix, which Attaform keeps for library-internal synthetic keys. Pick any other prefix for your form.","md",{},true,"\u002Fe\u002Faf05",{"title":5,"description":85},"e\u002Faf05","vYGKCsI9CpzTRnSAjHgF6lA5SbrJkD6awWxLCHVD3Lc",1787641562870]