[{"data":1,"prerenderedAt":833},["ShallowReactive",2],{"navigation":3,"\u002Fnuxt-module\u002Fcwa-api\u002Fforms":393,"\u002Fnuxt-module\u002Fcwa-api\u002Fforms-surround":828},[4,14,36,69,144,376],{"title":5,"path":6,"stem":7,"children":8},"Introduction","\u002Fgetting-started","1.getting-started\u002F1.index",[9,10],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":15,"path":16,"stem":17,"children":18,"page":35},"Guides","\u002Fguides","2.guides",[19,23,27,31],{"title":20,"path":21,"stem":22},"Your First Layout","\u002Fguides\u002Fyour-first-layout","2.guides\u002F1.your-first-layout",{"title":24,"path":25,"stem":26},"Your First Page Template","\u002Fguides\u002Fyour-first-page-template","2.guides\u002F2.your-first-page-template",{"title":28,"path":29,"stem":30},"Your First Component","\u002Fguides\u002Fyour-first-component","2.guides\u002F3.your-first-component",{"title":32,"path":33,"stem":34},"Alternative UI Variants","\u002Fguides\u002Falternative-ui-variants","2.guides\u002F4.alternative-ui-variants",false,{"title":37,"path":38,"stem":39,"children":40,"page":35},"Core Concepts","\u002Fcore-concepts","3.core-concepts",[41,45,49,53,57,61,65],{"title":42,"path":43,"stem":44},"How It All Works","\u002Fcore-concepts\u002Farchitecture","3.core-concepts\u002F1.architecture",{"title":46,"path":47,"stem":48},"The Data Model","\u002Fcore-concepts\u002Fthe-data-model","3.core-concepts\u002F2.the-data-model",{"title":50,"path":51,"stem":52},"Layouts & Pages","\u002Fcore-concepts\u002Flayouts-and-pages","3.core-concepts\u002F3.layouts-and-pages",{"title":54,"path":55,"stem":56},"Dynamic Pages","\u002Fcore-concepts\u002Fdynamic-pages","3.core-concepts\u002F4.dynamic-pages",{"title":58,"path":59,"stem":60},"Components","\u002Fcore-concepts\u002Fcomponents","3.core-concepts\u002F5.components",{"title":62,"path":63,"stem":64},"Draft & Publish Workflow","\u002Fcore-concepts\u002Fdraft-and-publish","3.core-concepts\u002F6.draft-and-publish",{"title":66,"path":67,"stem":68},"The Admin Panel","\u002Fcore-concepts\u002Fadmin-panel","3.core-concepts\u002F7.admin-panel",{"title":70,"path":71,"stem":72,"children":73,"page":35},"Api","\u002Fapi","4.api",[74,78,120,124,128,132,136,140],{"title":75,"path":76,"stem":77},"Bundle Setup","\u002Fapi\u002Fbundle-setup","4.api\u002F1.bundle-setup",{"title":58,"path":79,"stem":80,"children":81,"page":35},"\u002Fapi\u002Fcomponents","4.api\u002F2.components",[82,86,107],{"title":83,"path":84,"stem":85},"Creating Components","\u002Fapi\u002Fcomponents\u002Fcreating-components","4.api\u002F2.components\u002F1.creating-components",{"title":87,"path":88,"stem":89,"children":90,"page":35},"Annotations","\u002Fapi\u002Fcomponents\u002Fannotations","4.api\u002F2.components\u002F2.annotations",[91,95,99,103],{"title":92,"path":93,"stem":94},"Publishable","\u002Fapi\u002Fcomponents\u002Fannotations\u002Fpublishable","4.api\u002F2.components\u002F2.annotations\u002F1.publishable",{"title":96,"path":97,"stem":98},"Uploadable","\u002Fapi\u002Fcomponents\u002Fannotations\u002Fuploadable","4.api\u002F2.components\u002F2.annotations\u002F2.uploadable",{"title":100,"path":101,"stem":102},"Timestamped","\u002Fapi\u002Fcomponents\u002Fannotations\u002Ftimestamped","4.api\u002F2.components\u002F2.annotations\u002F3.timestamped",{"title":104,"path":105,"stem":106},"Explicit Allow Only","\u002Fapi\u002Fcomponents\u002Fannotations\u002Fexplicit-allow-only","4.api\u002F2.components\u002F2.annotations\u002F4.explicit-allow-only",{"title":108,"path":109,"stem":110,"children":111,"page":35},"Built Ins","\u002Fapi\u002Fcomponents\u002Fbuilt-ins","4.api\u002F2.components\u002F3.built-ins",[112,116],{"title":113,"path":114,"stem":115},"Collection Component","\u002Fapi\u002Fcomponents\u002Fbuilt-ins\u002Fcollection-component","4.api\u002F2.components\u002F3.built-ins\u002F1.collection-component",{"title":117,"path":118,"stem":119},"Form Component","\u002Fapi\u002Fcomponents\u002Fbuilt-ins\u002Fform-component","4.api\u002F2.components\u002F3.built-ins\u002F2.form-component",{"title":121,"path":122,"stem":123},"Dynamic & Nested Pages","\u002Fapi\u002Fdynamic-pages","4.api\u002F3.dynamic-pages",{"title":125,"path":126,"stem":127},"Users & Security","\u002Fapi\u002Fusers-and-security","4.api\u002F4.users-and-security",{"title":129,"path":130,"stem":131},"Data Fixtures","\u002Fapi\u002Fdata-fixtures","4.api\u002F5.data-fixtures",{"title":133,"path":134,"stem":135},"Configuration Reference","\u002Fapi\u002Fconfiguration","4.api\u002F6.configuration",{"title":137,"path":138,"stem":139},"Console Commands","\u002Fapi\u002Fconsole-commands","4.api\u002F7.console-commands",{"title":141,"path":142,"stem":143},"Debugging & Profiler","\u002Fapi\u002Fdebugging","4.api\u002F8.debugging",{"title":145,"path":146,"stem":147,"children":148,"page":35},"Nuxt Module","\u002Fnuxt-module","5.nuxt-module",[149,153,157,170,190,211,244,328,352,356],{"title":150,"path":151,"stem":152},"Module Setup","\u002Fnuxt-module\u002Fmodule-setup","5.nuxt-module\u002F1.module-setup",{"title":154,"path":155,"stem":156},"PWA & Offline","\u002Fnuxt-module\u002Fpwa","5.nuxt-module\u002F10.pwa",{"title":158,"path":159,"stem":160,"children":161,"page":35},"Configuration","\u002Fnuxt-module\u002Fconfiguration","5.nuxt-module\u002F2.configuration",[162,166],{"title":163,"path":164,"stem":165},"Nuxt Config","\u002Fnuxt-module\u002Fconfiguration\u002Fnuxt-config","5.nuxt-module\u002F2.configuration\u002F1.nuxt-config",{"title":167,"path":168,"stem":169},"Site Config & SEO","\u002Fnuxt-module\u002Fconfiguration\u002Fsite-config-and-seo","5.nuxt-module\u002F2.configuration\u002F2.site-config-and-seo",{"title":171,"path":172,"stem":173,"children":174,"page":35},"Building Your Ui","\u002Fnuxt-module\u002Fbuilding-your-ui","5.nuxt-module\u002F3.building-your-ui",[175,179,183,186],{"title":176,"path":177,"stem":178},"Layouts","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-layouts","5.nuxt-module\u002F3.building-your-ui\u002F1.creating-layouts",{"title":180,"path":181,"stem":182},"Page Templates","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-page-templates","5.nuxt-module\u002F3.building-your-ui\u002F2.creating-page-templates",{"title":83,"path":184,"stem":185},"\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-components","5.nuxt-module\u002F3.building-your-ui\u002F3.creating-components",{"title":187,"path":188,"stem":189},"CLI Generator","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcwa-cli","5.nuxt-module\u002F3.building-your-ui\u002F4.cwa-cli",{"title":191,"path":192,"stem":193,"children":194,"page":35},"Cwa Components","\u002Fnuxt-module\u002Fcwa-components","5.nuxt-module\u002F4.cwa-components",[195,199,203,207],{"title":196,"path":197,"stem":198},"\u003CCwaComponentGroup \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-component-group","5.nuxt-module\u002F4.cwa-components\u002F1.cwa-component-group",{"title":200,"path":201,"stem":202},"\u003CCwaPage \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-page","5.nuxt-module\u002F4.cwa-components\u002F2.cwa-page",{"title":204,"path":205,"stem":206},"\u003CCwaLink \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-link","5.nuxt-module\u002F4.cwa-components\u002F3.cwa-link",{"title":208,"path":209,"stem":210},"\u003CCwaDefaultLayout \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-default-layout","5.nuxt-module\u002F4.cwa-components\u002F5.cwa-default-layout",{"title":212,"path":213,"stem":214,"children":215,"page":35},"Cwa Api","\u002Fnuxt-module\u002Fcwa-api","5.nuxt-module\u002F5.cwa-api",[216,220,224,228,232,236,240],{"title":217,"path":218,"stem":219},"Overview","\u002Fnuxt-module\u002Fcwa-api\u002Foverview","5.nuxt-module\u002F5.cwa-api\u002F1.overview",{"title":221,"path":222,"stem":223},"Resources","\u002Fnuxt-module\u002Fcwa-api\u002Fresources","5.nuxt-module\u002F5.cwa-api\u002F2.resources",{"title":225,"path":226,"stem":227},"Resources Manager","\u002Fnuxt-module\u002Fcwa-api\u002Fresources-manager","5.nuxt-module\u002F5.cwa-api\u002F3.resources-manager",{"title":229,"path":230,"stem":231},"Auth","\u002Fnuxt-module\u002Fcwa-api\u002Fauth","5.nuxt-module\u002F5.cwa-api\u002F4.auth",{"title":233,"path":234,"stem":235},"Forms","\u002Fnuxt-module\u002Fcwa-api\u002Fforms","5.nuxt-module\u002F5.cwa-api\u002F5.forms",{"title":237,"path":238,"stem":239},"Admin","\u002Fnuxt-module\u002Fcwa-api\u002Fadmin","5.nuxt-module\u002F5.cwa-api\u002F6.admin",{"title":241,"path":242,"stem":243},"Site Config","\u002Fnuxt-module\u002Fcwa-api\u002Fsite-config","5.nuxt-module\u002F5.cwa-api\u002F7.site-config",{"title":245,"path":246,"stem":247,"children":248,"page":35},"Composables","\u002Fnuxt-module\u002Fcomposables","5.nuxt-module\u002F6.composables",[249,257,294,311],{"title":250,"path":251,"stem":252,"children":253,"page":35},"Layout","\u002Fnuxt-module\u002Fcomposables\u002Flayout","5.nuxt-module\u002F6.composables\u002F0.layout",[254],{"title":250,"path":255,"stem":256},"\u002Fnuxt-module\u002Fcomposables\u002Flayout\u002Fuse-cwa-layout","5.nuxt-module\u002F6.composables\u002F0.layout\u002F1.use-cwa-layout",{"title":258,"path":259,"stem":260,"children":261,"page":35},"Component","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent","5.nuxt-module\u002F6.composables\u002F1.component",[262,266,270,274,278,282,286,290],{"title":263,"path":264,"stem":265},"Component (recommended)","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-component","5.nuxt-module\u002F6.composables\u002F1.component\u002F0.use-cwa-component",{"title":267,"path":268,"stem":269},"Resource","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-resource","5.nuxt-module\u002F6.composables\u002F1.component\u002F1.use-cwa-resource",{"title":271,"path":272,"stem":273},"Collection Resource","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-collection-resource","5.nuxt-module\u002F6.composables\u002F1.component\u002F2.use-cwa-collection-resource",{"title":275,"path":276,"stem":277},"File Field","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-file-field","5.nuxt-module\u002F6.composables\u002F1.component\u002F3.use-cwa-file-field",{"title":279,"path":280,"stem":281},"Form","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-form","5.nuxt-module\u002F6.composables\u002F1.component\u002F4.use-cwa-form",{"title":283,"path":284,"stem":285},"Form Input","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-form-input","5.nuxt-module\u002F6.composables\u002F1.component\u002F5.use-cwa-form-input",{"title":287,"path":288,"stem":289},"Form Repeated","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-form-repeated","5.nuxt-module\u002F6.composables\u002F1.component\u002F6.use-cwa-form-repeated",{"title":291,"path":292,"stem":293},"Form Collection","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-form-collection","5.nuxt-module\u002F6.composables\u002F1.component\u002F7.use-cwa-form-collection",{"title":295,"path":296,"stem":297,"children":298,"page":35},"Admin Manager","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager","5.nuxt-module\u002F6.composables\u002F2.admin-manager",[299,303,307],{"title":300,"path":301,"stem":302},"Manager Tab","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-manager-tab","5.nuxt-module\u002F6.composables\u002F2.admin-manager\u002F1.use-cwa-resource-manager-tab",{"title":304,"path":305,"stem":306},"Resource Model","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-model","5.nuxt-module\u002F6.composables\u002F2.admin-manager\u002F2.use-cwa-resource-model",{"title":308,"path":309,"stem":310},"Resource Upload","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-upload","5.nuxt-module\u002F6.composables\u002F2.admin-manager\u002F3.use-cwa-resource-upload",{"title":312,"path":313,"stem":314,"children":315,"page":35},"Utilities","\u002Fnuxt-module\u002Fcomposables\u002Futilities","5.nuxt-module\u002F6.composables\u002F3.utilities",[316,320,324],{"title":317,"path":318,"stem":319},"Resource Endpoint","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-cwa-resource-endpoint","5.nuxt-module\u002F6.composables\u002F3.utilities\u002F1.use-cwa-resource-endpoint",{"title":321,"path":322,"stem":323},"Query Model","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-query-bound-model","5.nuxt-module\u002F6.composables\u002F3.utilities\u002F2.use-query-bound-model",{"title":325,"path":326,"stem":327},"Resource Route","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-cwa-resource-route","5.nuxt-module\u002F6.composables\u002F3.utilities\u002F3.use-cwa-resource-route",{"title":329,"path":330,"stem":331,"children":332,"page":35},"Component Helpers","\u002Fnuxt-module\u002Fcomponent-helpers","5.nuxt-module\u002F7.component-helpers",[333,337,341,345,349],{"title":334,"path":335,"stem":336},"Images & Media","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fimages-and-uploads","5.nuxt-module\u002F7.component-helpers\u002F1.images-and-uploads",{"title":338,"path":339,"stem":340},"Collections & Pagination","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fcollections-and-pagination","5.nuxt-module\u002F7.component-helpers\u002F2.collections-and-pagination",{"title":342,"path":343,"stem":344},"HTML Content","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fhtml-content","5.nuxt-module\u002F7.component-helpers\u002F3.html-content",{"title":346,"path":347,"stem":348},"Real-Time Updates","\u002Fnuxt-module\u002Fcomponent-helpers\u002Freal-time-updates","5.nuxt-module\u002F7.component-helpers\u002F4.real-time-updates",{"title":233,"path":350,"stem":351},"\u002Fnuxt-module\u002Fcomponent-helpers\u002Fforms","5.nuxt-module\u002F7.component-helpers\u002F5.forms",{"title":353,"path":354,"stem":355},"Authentication","\u002Fnuxt-module\u002Fauthentication","5.nuxt-module\u002F8.authentication",{"title":357,"path":358,"stem":359,"children":360,"page":35},"Cwa Layer","\u002Fnuxt-module\u002Fcwa-layer","5.nuxt-module\u002F9.cwa-layer",[361,364,368,372],{"title":217,"path":362,"stem":363},"\u002Fnuxt-module\u002Fcwa-layer\u002Foverview","5.nuxt-module\u002F9.cwa-layer\u002F1.overview",{"title":365,"path":366,"stem":367},"Auth Pages","\u002Fnuxt-module\u002Fcwa-layer\u002Fauth-pages","5.nuxt-module\u002F9.cwa-layer\u002F2.auth-pages",{"title":369,"path":370,"stem":371},"Admin Panel","\u002Fnuxt-module\u002Fcwa-layer\u002Fadmin-panel","5.nuxt-module\u002F9.cwa-layer\u002F3.admin-panel",{"title":373,"path":374,"stem":375},"Styling","\u002Fnuxt-module\u002Fcwa-layer\u002Fstyling","5.nuxt-module\u002F9.cwa-layer\u002F4.styling",{"title":377,"path":378,"stem":379,"children":380,"page":35},"Deployment","\u002Fdeployment","6.deployment",[381,385,389],{"title":382,"path":383,"stem":384},"Docker","\u002Fdeployment\u002Fdocker","6.deployment\u002F1.docker",{"title":386,"path":387,"stem":388},"Kubernetes & Helm","\u002Fdeployment\u002Fkubernetes","6.deployment\u002F2.kubernetes",{"title":390,"path":391,"stem":392},"CI\u002FCD","\u002Fdeployment\u002Fci-cd","6.deployment\u002F3.ci-cd",{"id":394,"title":395,"badge":396,"body":399,"description":821,"extension":822,"links":823,"meta":824,"navigation":825,"path":234,"seo":826,"stem":235,"__hash__":827},"docs\u002F5.nuxt-module\u002F5.cwa-api\u002F5.forms.md","cwa.forms",{"label":397,"color":398},"Draft","amber",{"type":400,"value":401,"toc":816},"minimark",[402,410,431,438,445,621,627,634,684,688,694,798,812],[403,404,405,406,409],"p",{},"Access the structured form view data for ",[407,408,279],"code",{}," component resources.",[403,411,412,413,416,417,416,420,423,424,427,428,430],{},"Application code normally goes through the form composables (",[407,414,415],{},"useCwaForm",", ",[407,418,419],{},"useCwaFormInput",[407,421,422],{},"useCwaFormCollection"," — see ",[425,426,233],"a",{"href":350},"). Reach for ",[407,429,395],{}," directly only when building a custom form UI that the composables don't cover.",[432,433,435],"h2",{"id":434},"getformiri",[407,436,437],{},"getForm(iri)",[403,439,440,441,444],{},"Returns a ",[407,442,443],{},"ComputedRef"," of the structured form view, keyed by field name:",[446,447,452],"pre",{"className":448,"code":449,"language":450,"meta":451,"style":451},"language-ts shiki shiki-themes github-light github-dark material-theme-palenight","const formView = cwa.forms.getForm('\u002Fcomponent\u002Fforms\u002F018e-...')\n\n\u002F\u002F Access a field's vars\nconst nameField = formView.value?.['contact[name]']\nnameField?.vars.value     \u002F\u002F current value\nnameField?.vars.errors    \u002F\u002F string[]\nnameField?.vars.required  \u002F\u002F boolean\nnameField?.vars.block_prefixes  \u002F\u002F ['form', 'text', '_contact_name'] — for type-specific rendering\n","ts","",[407,453,454,504,511,518,551,570,587,604],{"__ignoreMap":451},[455,456,459,463,467,471,475,479,482,484,488,491,495,499,501],"span",{"class":457,"line":458},"line",1,[455,460,462],{"class":461},"swB56","const",[455,464,466],{"class":465},"sc2zw"," formView",[455,468,470],{"class":469},"sVlFx"," =",[455,472,474],{"class":473},"sPB8G"," cwa",[455,476,478],{"class":477},"sOvfz",".",[455,480,481],{"class":473},"forms",[455,483,478],{"class":477},[455,485,487],{"class":486},"sKpYG","getForm",[455,489,490],{"class":473},"(",[455,492,494],{"class":493},"seSrl","'",[455,496,498],{"class":497},"sLL54","\u002Fcomponent\u002Fforms\u002F018e-...",[455,500,494],{"class":493},[455,502,503],{"class":473},")\n",[455,505,507],{"class":457,"line":506},2,[455,508,510],{"emptyLinePlaceholder":509},true,"\n",[455,512,514],{"class":457,"line":513},3,[455,515,517],{"class":516},"sTBSN","\u002F\u002F Access a field's vars\n",[455,519,521,523,526,528,530,532,535,538,541,543,546,548],{"class":457,"line":520},4,[455,522,462],{"class":461},[455,524,525],{"class":465}," nameField",[455,527,470],{"class":469},[455,529,466],{"class":473},[455,531,478],{"class":477},[455,533,534],{"class":473},"value",[455,536,537],{"class":477},"?.",[455,539,540],{"class":473},"[",[455,542,494],{"class":493},[455,544,545],{"class":497},"contact[name]",[455,547,494],{"class":493},[455,549,550],{"class":473},"]\n",[455,552,554,557,559,562,564,567],{"class":457,"line":553},5,[455,555,556],{"class":473},"nameField",[455,558,537],{"class":477},[455,560,561],{"class":473},"vars",[455,563,478],{"class":477},[455,565,566],{"class":473},"value     ",[455,568,569],{"class":516},"\u002F\u002F current value\n",[455,571,573,575,577,579,581,584],{"class":457,"line":572},6,[455,574,556],{"class":473},[455,576,537],{"class":477},[455,578,561],{"class":473},[455,580,478],{"class":477},[455,582,583],{"class":473},"errors    ",[455,585,586],{"class":516},"\u002F\u002F string[]\n",[455,588,590,592,594,596,598,601],{"class":457,"line":589},7,[455,591,556],{"class":473},[455,593,537],{"class":477},[455,595,561],{"class":473},[455,597,478],{"class":477},[455,599,600],{"class":473},"required  ",[455,602,603],{"class":516},"\u002F\u002F boolean\n",[455,605,607,609,611,613,615,618],{"class":457,"line":606},8,[455,608,556],{"class":473},[455,610,537],{"class":477},[455,612,561],{"class":473},[455,614,478],{"class":477},[455,616,617],{"class":473},"block_prefixes  ",[455,619,620],{"class":516},"\u002F\u002F ['form', 'text', '_contact_name'] — for type-specific rendering\n",[432,622,624],{"id":623},"getformviewerrorsformiri-field",[407,625,626],{},"getFormViewErrors(formIri, field)",[403,628,629,630,633],{},"Convenience computed that returns the error array for a specific field, or ",[407,631,632],{},"undefined"," if there are none:",[446,635,637],{"className":448,"code":636,"language":450,"meta":451,"style":451},"const nameErrors = cwa.forms.getFormViewErrors('\u002Fcomponent\u002Fforms\u002F018e-...', 'contact[name]')\n\u002F\u002F nameErrors.value → ['This field is required'] or undefined\n",[407,638,639,679],{"__ignoreMap":451},[455,640,641,643,646,648,650,652,654,656,659,661,663,665,667,670,673,675,677],{"class":457,"line":458},[455,642,462],{"class":461},[455,644,645],{"class":465}," nameErrors",[455,647,470],{"class":469},[455,649,474],{"class":473},[455,651,478],{"class":477},[455,653,481],{"class":473},[455,655,478],{"class":477},[455,657,658],{"class":486},"getFormViewErrors",[455,660,490],{"class":473},[455,662,494],{"class":493},[455,664,498],{"class":497},[455,666,494],{"class":493},[455,668,669],{"class":477},",",[455,671,672],{"class":493}," '",[455,674,545],{"class":497},[455,676,494],{"class":493},[455,678,503],{"class":473},[455,680,681],{"class":457,"line":506},[455,682,683],{"class":516},"\u002F\u002F nameErrors.value → ['This field is required'] or undefined\n",[432,685,687],{"id":686},"other-methods","Other Methods",[403,689,690,691,478],{},"These are the calls the form composables make on your behalf. Field values are held per form IRI, keyed by the field's ",[407,692,693],{},"full_name",[695,696,697,710],"table",{},[698,699,700],"thead",{},[701,702,703,707],"tr",{},[704,705,706],"th",{},"Method",[704,708,709],{},"Purpose",[711,712,713,728,741,751,761,771,785],"tbody",{},[701,714,715,721],{},[716,717,718],"td",{},[407,719,720],{},"submitForm(endpoint, body, method)",[716,722,723,724,727],{},"Submit the form. Resolves ",[407,725,726],{},"{ success, formErrors? }"," and writes the response (including a 422 body) back into the resources store",[701,729,730,735],{},[716,731,732],{},[407,733,734],{},"validateField(endpoint, body)",[716,736,737,740],{},[407,738,739],{},"PATCH"," a partial body for server-side validation of a single field; the refreshed form view is saved to the store",[701,742,743,748],{},[716,744,745],{},[407,746,747],{},"setFieldValue(iri, fullName, value)",[716,749,750],{},"Record a field's current value",[701,752,753,758],{},[716,754,755],{},[407,756,757],{},"getFieldValues(iri)",[716,759,760],{},"All recorded values for the form, as a plain object",[701,762,763,768],{},[716,764,765],{},[407,766,767],{},"clearFieldValue(iri, fullName)",[716,769,770],{},"Drop a recorded value (e.g. when a collection entry is removed)",[701,772,773,782],{},[716,774,775,778,779],{},[407,776,777],{},"isSubmitAttempted(iri)"," \u002F ",[407,780,781],{},"setSubmitAttempted(iri, attempted)",[716,783,784],{},"Whether submission has been attempted — used to decide when to show errors",[701,786,787,795],{},[716,788,789,778,792],{},[407,790,791],{},"registerLocalEntry(iri, entry)",[407,793,794],{},"unregisterLocalEntries(iri, keys)",[716,796,797],{},"Add or remove client-side collection entries cloned from the form prototype. Returns the field keys it created",[403,799,800,801,804,805,808,809,811],{},"Bodies passed to ",[407,802,803],{},"submitForm"," and ",[407,806,807],{},"validateField"," use bracketed field names (",[407,810,545],{},") — they are converted to nested JSON before being sent.",[813,814,815],"style",{},"html pre.shiki code .swB56, html code.shiki .swB56{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#C792EA}html pre.shiki code .sc2zw, html code.shiki .sc2zw{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#BABED8}html pre.shiki code .sVlFx, html code.shiki .sVlFx{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#89DDFF}html pre.shiki code .sPB8G, html code.shiki .sPB8G{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#BABED8}html pre.shiki code .sOvfz, html code.shiki .sOvfz{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#89DDFF}html pre.shiki code .sKpYG, html code.shiki .sKpYG{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#82AAFF}html pre.shiki code .seSrl, html code.shiki .seSrl{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#89DDFF}html pre.shiki code .sLL54, html code.shiki .sLL54{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#C3E88D}html pre.shiki code .sTBSN, html code.shiki .sTBSN{--shiki-light:#6A737D;--shiki-light-font-style:inherit;--shiki-default:#6A737D;--shiki-default-font-style:inherit;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":451,"searchDepth":506,"depth":506,"links":817},[818,819,820],{"id":434,"depth":506,"text":437},{"id":623,"depth":506,"text":626},{"id":686,"depth":506,"text":687},"Access the structured form view data and field errors for Form component resources.","md",null,{},{"title":233},{"title":395,"description":821},"c1gcwt3u9mjhVqZjPQdXt2LBUp6CFub_ZJ0QbGsgAk0",[829,831],{"title":229,"path":230,"stem":231,"description":830,"children":-1},"Authentication state and all user account actions — sign in, sign out, password reset, and email verification.",{"title":237,"path":238,"stem":239,"description":832,"children":-1},"Admin edit mode, the component selection stack, the internal event bus, and the navigation guard.",1786542480339]