{
  "id": "task_libraries:form/vue",
  "path": "/exapedia/vue-form-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Vue form libraries",
  "answer": [
    {
      "t": "text",
      "text": "Vue form libraries manage form values, validation rules, and error messages in Vue components. A validation library either binds rules to fields it manages or validates reactive models that the application already owns. These libraries let apps reject invalid input before it reaches a server."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Vue form libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#veevalidate",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F131"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F6"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#vuetify",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F142"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#element-plus",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F155"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#vuelidate",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F171"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F32"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#quasar",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F186"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ant-design-vue",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F198"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#primevue-forms",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F210"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#naive-ui",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F226"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#veevalidate",
          "label": [
            {
              "t": "text",
              "text": "vee-validate"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F132"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Form-level rules",
            "Automatic submit validation"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#veevalidate",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F131"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#vuetify",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F142"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#element-plus",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F155"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#vuelidate",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F171"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#quasar",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F186"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ant-design-vue",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F198"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#primevue-forms",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F210"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#naive-ui",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F226"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "veevalidate",
          "name": [
            {
              "t": "fact",
              "fact": "F131"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/logaretm/vee-validate"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/vee-validate"
            },
            {
              "label": "Docs",
              "href": "https://vee-validate.logaretm.com/v4/api/use-form/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F6"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://vee-validate.logaretm.com/v4/api/use-form/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F131"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import { useForm } from 'vee-validate';\n\nexport function useNameForm() {\n  const form = useForm({\n    initialValues: { name: '' },\n    validationSchema: { name: value => Boolean(value) || 'Required' },\n  });\n  const [name, nameProps] = form.defineField('name');\n  const submit = form.handleSubmit(values => console.log(values));\n  return { name, nameProps, submit };\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/logaretm/vee-validate/contents/packages/vee-validate/src/useForm.ts?ref=v4.15.1",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Vue%20TypeScript%20applications%20using%20vee-validate%20for%20reactive%20forms%2C%20validation%2C%20server%20errors%20and%20custom%20input%20integration&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F131"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F136"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "vuetify",
          "name": [
            {
              "t": "fact",
              "fact": "F142"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/vuetifyjs/vuetify"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/vuetify"
            },
            {
              "label": "Docs",
              "href": "https://vuetifyjs.com/en/components/forms/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F149"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://vuetifyjs.com/en/components/forms/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F142"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "vue",
              "code": "<script setup>\nimport { ref } from 'vue';\nimport { VForm, VTextField, VBtn } from 'vuetify/components';\nconst name = ref('');\nasync function submit(event) {\n  const { valid } = await event;\n  if (valid) console.log(name.value);\n}\n</script>\n<template>\n  <VForm @submit.prevent=\"submit\">\n    <VTextField v-model=\"name\" :rules=\"[v => Boolean(v) || 'Required']\" />\n    <VBtn type=\"submit\">Validate</VBtn>\n  </VForm>\n</template>\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/vuetifyjs/vuetify/contents/packages/vuetify/src/components/VForm/VForm.tsx?ref=v4.3.4",
                  "label": [
                    {
                      "t": "text",
                      "text": "VForm.tsx"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=vuetify%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F142"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F147"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "element-plus",
          "name": [
            {
              "t": "fact",
              "fact": "F155"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/element-plus/element-plus"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/element-plus"
            },
            {
              "label": "Docs",
              "href": "https://element-plus.org/en-US/component/form.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F162"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://element-plus.org/en-US/component/form.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F155"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/pure-admin/vue-pure-admin",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F169"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "vue",
              "code": "formEl => {\n  if (!formEl) return;\n  formEl.validate(valid => {\n    if (valid) {\n      // 多个 file 在一个接口同时上传\n      const formData = createFormData({\n        files: validateForm.fileList.map(file => ({ raw: file.raw })), // file 文件\n        date: validateForm.date // 别的字段\n      });\n      formUpload(formData)\n        .then(({ code }) => {\n          if (code === 0) {\n            message(\"提交成功\", { type: \"success\" });\n          } else {\n            message(\"提交失败\");\n          }\n        })\n        .catch(error => {\n          message(`提交异常 ${error}`, { type: \"error\" });\n        });\n    } else {\n      return false;\n    }\n  });\n}",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/pure-admin/vue-pure-admin/blob/fae75ad1cd52d11a7279931ef5bba2b80e363c7b/src/views/components/upload/form.vue#L16-L40",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F168"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=element-plus%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F155"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "vue",
              "code": "<script setup>\nimport { reactive, ref } from 'vue';\nimport { ElForm, ElFormItem } from 'element-plus';\nconst form = ref();\nconst model = reactive({ name: '' });\nconst rules = { name: [{ required: true, message: 'Required' }] };\nfunction submit() {\n  form.value.validate(valid => { if (valid) console.log(model.name); });\n}\n</script>\n<template>\n  <ElForm ref=\"form\" :model=\"model\" :rules=\"rules\">\n    <ElFormItem prop=\"name\"><input v-model=\"model.name\" /></ElFormItem>\n    <button type=\"button\" @click=\"submit\">Validate</button>\n  </ElForm>\n</template>\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/element-plus/element-plus/contents/packages/components/form/src/form.vue?ref=2.14.8",
                  "label": [
                    {
                      "t": "text",
                      "text": "form.vue"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F160"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "vuelidate",
          "name": [
            {
              "t": "fact",
              "fact": "F171"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/vuelidate/vuelidate"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@vuelidate/core"
            },
            {
              "label": "Docs",
              "href": "https://vuelidate-next.netlify.app/api/methods"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F38"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F32"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://vuelidate-next.netlify.app/api/methods",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F171"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F46"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/YunoHost/yunohost-admin",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "export function useForm<\n  MV extends Obj,\n  FFD extends FormFieldDict<MV> = FormFieldDict<MV>,\n>(form: Ref<MV> | WritableComputedRef<MV>, fields: FFD | (() => FFD)) {\n  const serverErrors = reactive<ServerErrors>({})\n  const validByDefault = { true: () => true as const }\n  // create a fake validation rule for global state to be able to add $externalResult errors to it\n  const rules = ref({ global: validByDefault, form: {} }) as Ref<{\n    global: { true: () => true }\n    form: ValidationArgs<MV>\n  }>\n  function updateRules(ffd: FFD) {\n    const validations = Object.keys(form.value).map((key: keyof MV) => [\n      key,\n      ffd[key].rules ?? validByDefault,\n    ])\n    const formRules: ValidationArgs<MV> = Object.fromEntries(validations)\n    rules.value = { global: { true: () => true }, form: formRules }\n  }\n  if (isFunction(fields)) {\n    watchImmediate(fields, () => {\n      updateRules(toValue(fields))\n    })\n  } else {\n    watchImmediate(\n      Object.keys(form.value).map((key: keyof MV) => () => fields[key].rules),\n      () => updateRules(fields),\n    )\n  }\n\n  const v: Ref<FormValidation<MV>> = useVuelidate(\n    rules,\n    { form, global: null },\n    { $externalResults: serverErrors },\n  )\n\n  function onErrorFn(err: APIError, errorMessage?: string) {\n    if (!(err instanceof APIBadRequestError)) throw err\n    if (errorMessage || !err.data.name) {\n      serverErrors.global = [errorMessage || err.message]\n    } else {\n      deepSetErrors(\n        serverErrors,\n        [err.message],\n        'form',\n        ...err.data.name.split('.'),\n      )\n    }\n  }\n\n  function onSubmit(\n    fn: (onError: typeof onErrorFn, serverErrors: ServerErrors) => void,\n  ) {\n    // FIXME add option to ask confirmation (with param text confirm)\n    return async (e: SubmitEvent) => {\n      e.preventDefault()\n      // Password managers may fill inputs without firing input events\n      const formEl = e.target as HTMLFormElement\n      for (const key of Object.keys(form.value) as (keyof MV)[]) {\n        const el = formEl.elements.namedItem(key as string)\n        if (\n          el instanceof HTMLInputElement &&\n          (el.type == 'text' || el.type == 'password' || el.type == 'email') &&\n          el.value &&\n          !form.value[key]\n        ) {\n          form.value[key] = el.value as MV[keyof MV]\n        }\n      }\n      if (!(await v.value.form.$validate())) return\n      fn(onErrorFn, serverErrors)\n    }\n  }\n\n  provide(clearServerErrorsSymbol, (key?: string) => {\n    const keys = key?.split('.')\n    if (keys?.length) {\n      deepSetErrors(serverErrors, [], ...keys)\n    }\n  })\n\n  return {\n    v,\n    serverErrors,\n    onSubmit,\n  }\n}",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/YunoHost/yunohost-admin/blob/f0e88f0b7232dbd26aa3c58a3e5bc346d31eaba0/app/src/composables/form.ts#L60-L146",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F183"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Vue%20TypeScript%20applications%20using%20%40vuelidate/core%20for%20reactive%20forms%2C%20validation%2C%20server%20errors%20and%20custom%20input%20integration&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F171"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "<script setup>\nimport { reactive } from 'vue';\nimport useVuelidate from '@vuelidate/core';\nconst state = reactive({ name: '' });\nconst rules = { name: { required: value => Boolean(value) } };\nconst validation = useVuelidate(rules, state);\nasync function submit() {\n  console.log(await validation.value.$validate());\n}\n</script>\n<template>\n  <form @submit.prevent=\"submit\">\n    <input v-model=\"state.name\" /><button type=\"submit\">Validate</button>\n  </form>\n</template>\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/@vuelidate/core@2.0.3/index.d.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F176"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "quasar",
          "name": [
            {
              "t": "fact",
              "fact": "F186"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/quasarframework/quasar"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/quasar"
            },
            {
              "label": "Docs",
              "href": "https://quasar.dev/vue-components/form/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F193"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://quasar.dev/vue-components/form/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F186"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "vue",
              "code": "<script setup>\nimport { ref } from 'vue';\nimport { QForm, QInput, QBtn } from 'quasar';\nconst name = ref('');\nfunction submit() { console.log(name.value); }\n</script>\n<template>\n  <QForm @submit=\"submit\">\n    <QInput v-model=\"name\" :rules=\"[v => Boolean(v) || 'Required']\" />\n    <QBtn type=\"submit\" label=\"Validate\" />\n  </QForm>\n</template>\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://unpkg.com/quasar@2.35.5/dist/api/QForm.json",
                  "label": [
                    {
                      "t": "text",
                      "text": "QForm.json"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=quasar%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F186"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F191"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "ant-design-vue",
          "name": [
            {
              "t": "fact",
              "fact": "F198"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/vueComponent/ant-design-vue"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/ant-design-vue"
            },
            {
              "label": "Docs",
              "href": "https://antdv.com/components/form"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F205"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://antdv.com/components/form",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F198"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "vue",
              "code": "<script setup>\nimport { reactive } from 'vue';\nimport { Form, FormItem, Input } from 'ant-design-vue';\nconst model = reactive({ name: '' });\nconst rules = { name: [{ required: true, message: 'Required' }] };\nfunction finish(values) { console.log(values); }\n</script>\n<template>\n  <Form :model=\"model\" :rules=\"rules\" @finish=\"finish\">\n    <FormItem name=\"name\"><Input v-model:value=\"model.name\" /></FormItem>\n    <button type=\"submit\">Validate</button>\n  </Form>\n</template>\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/vueComponent/ant-design-vue/4.2.6/components/form/index.en-US.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "index.en-US.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=ant-design-vue%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F198"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F203"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "primevue-forms",
          "name": [
            {
              "t": "fact",
              "fact": "F210"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/primefaces/primevue-nextchapter"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@primevue/forms"
            },
            {
              "label": "Docs",
              "href": "https://primevue.dev/forms/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F217"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://primevue.dev/forms/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F210"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "vue",
              "code": "<script setup>\nimport { Form, FormField } from '@primevue/forms';\nfunction submit({ values }) { console.log(values); }\n</script>\n<template>\n  <Form :initialValues=\"{ email: '' }\" @submit=\"submit\">\n    <FormField name=\"email\" v-slot=\"field\">\n      <input type=\"email\" v-bind=\"field.props\" />\n    </FormField>\n    <button type=\"submit\">Submit</button>\n  </Form>\n</template>\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/@primevue/forms@5.0.5/form/index.d.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "index.d.ts"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40primevue/forms%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F210"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F215"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "naive-ui",
          "name": [
            {
              "t": "fact",
              "fact": "F226"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/https://github.com/tusen-ai/naive-ui"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/naive-ui"
            },
            {
              "label": "Docs",
              "href": "https://www.naiveui.com/en-US/os-theme/components/form"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F233"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.naiveui.com/en-US/os-theme/components/form",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F226"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "vue",
              "code": "<script setup>\nimport { reactive, ref } from 'vue';\nimport { NForm, NFormItem } from 'naive-ui';\nconst form = ref();\nconst model = reactive({ name: '' });\nconst rules = { name: { required: true, message: 'Required' } };\nfunction submit() {\n  form.value.validate(errors => { if (!errors) console.log(model.name); });\n}\n</script>\n<template>\n  <NForm ref=\"form\" :model=\"model\" :rules=\"rules\">\n    <NFormItem path=\"name\"><input v-model=\"model.name\" /></NFormItem>\n    <button type=\"button\" @click=\"submit\">Validate</button>\n  </NForm>\n</template>\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/tusen-ai/naive-ui/main/src/form/demos/enUS/index.demo-entry.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "index.demo-entry.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=naive-ui%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F226"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F231"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Vue form library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#veevalidate",
          "label": [
            {
              "t": "text",
              "text": "vee-validate"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits forms that manage values, field bindings, and validation independent of the UI. "
        },
        {
          "t": "link",
          "href": "#vuelidate",
          "label": [
            {
              "t": "text",
              "text": "Vuelidate"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits validation added to existing reactive models. "
        },
        {
          "t": "link",
          "href": "#primevue-forms",
          "label": [
            {
              "t": "text",
              "text": "PrimeVue Forms"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits apps built on PrimeVue."
        }
      ]
    },
    {
      "q": "What is VeeValidate?",
      "a": [
        {
          "t": "link",
          "href": "#veevalidate",
          "label": [
            {
              "t": "text",
              "text": "vee-validate"
            }
          ]
        },
        {
          "t": "text",
          "text": " manages Vue form values, field bindings, and validation without prescribing the UI. Zod and Valibot schemas need a matching adapter package."
        }
      ]
    },
    {
      "q": "Is Vuelidate still maintained?",
      "a": [
        {
          "t": "link",
          "href": "#vuelidate",
          "label": [
            {
              "t": "text",
              "text": "Vuelidate"
            }
          ]
        },
        {
          "t": "text",
          "text": " receives long-term maintenance. Teams starting a new validation layer can compare it with actively developed alternatives."
        }
      ]
    },
    {
      "q": "How do I show server validation errors in Vue?",
      "a": [
        {
          "t": "link",
          "href": "#vuelidate",
          "label": [
            {
              "t": "text",
              "text": "Vuelidate"
            }
          ]
        },
        {
          "t": "text",
          "text": " passes server messages to the matching fields through $externalResults."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, vee-validate",
      "display": "VeeValidate",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, vee-validate",
      "display": "5.6M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, vee-validate",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, vee-validate",
      "display": "4.15.1",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, vee-validate",
      "display": "v4.15.1",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, vee-validate",
      "display": "11.3K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Async validation, vee-validate",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Server errors, vee-validate",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Cross-field rules, vee-validate",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Field arrays, vee-validate",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, vee-validate",
      "display": "npm install vee-validate",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, vee-validate",
      "display": "Manages Vue form values, field bindings, and validation without prescribing the UI.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, vee-validate",
      "display": "Builds field models and props",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, vee-validate",
      "display": "Use defineField for bindings and handleSubmit for validated submissions.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, vee-validate",
      "display": "Works with any chosen UI",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, vee-validate",
      "display": "Pair validation with native inputs or a component library.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, vee-validate",
      "display": "Form values are read-only",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, vee-validate",
      "display": "Use setFieldValue or setValues to update managed values.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, vee-validate",
      "display": "Schema adapters need companion packages",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, vee-validate",
      "display": "Install the matching adapter before using Zod or Valibot schemas.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, vee-validate",
      "display": "<script setup>\r\nimport { useForm } from 'vee-validate';\r\n\r\n// Validation, or use `yup` or `zod`\r\nfunction required(value) {\r\n  return value ? true : 'This field is required';\r\n}\r\n\r\n// Create the form\r\nconst { defineField, handleSubmit, errors } = useForm({\r\n  validationSchema: {\r\n    field: required,\r\n  },\r\n});\r\n\r\n// Define fields\r\nconst [field, fieldProps] = defineField('field');\r\n\r\n// Submit handler\r\nconst onSubmit = handleSubmit(values => {\r\n  // Submit to API\r\n  console.log(values);\r\n});\r\n</script>\r\n\r\n<template>\r\n  <form @submit=\"onSubmit\">\r\n    <input v-model=\"field\" v-bind=\"fieldProps\" />\r\n    <span>{{ errors.field }}</span>\r\n\r\n    <button>Submit</button>\r\n  </form>\r\n</template>\r\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function, vee-validate",
      "display": "export function useSettingsValidation(\n  values: Readonly<Ref<Record<string, string | boolean>>>,\n  schema: Readonly<Ref<GenericSchema>>\n) {\n  const form = useForm<Record<string, string | boolean>>({\n    initialValues: { ...values.value },\n    validationSchema: schema\n  })\n  const registered = new Set<string>()\n  function registerFields() {\n    for (const field of Object.keys(values.value)) {\n      if (registered.has(field)) continue\n      registered.add(field)\n      form.defineField(field, validateAfterFirstError)\n    }\n  }\n  registerFields()\n  watch(\n    values,\n    (next, previous) => {\n      registerFields()\n      form.setValues({ ...next }, false)\n      // Cross-field rules may attach their issue to a different field than the one changed.\n      if (Object.keys(next).some((field) => next[field] !== previous[field])) {\n        for (const field of Object.keys(form.errors.value)) void form.validateField(field)\n      }\n    },\n    { deep: true, flush: 'sync' }\n  )\n\n  return {\n    errors: form.errors,\n    blur: (field: string) => form.validateField(field),\n    validate: async () => (await form.validate()).valid,\n    reset: () => form.resetForm({ values: { ...values.value } }, { force: true })\n  }\n}\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function reference, vee-validate",
      "display": "use.ts · useSettingsValidation()",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project repository, vee-validate",
      "display": "open-pencil/open-pencil",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project stars, open-pencil/open-pencil",
      "display": "9.9K",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project push date, open-pencil/open-pencil",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F27": {
      "label": "Library name, @vuelidate/core",
      "display": "Vuelidate",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Monthly downloads, @vuelidate/core",
      "display": "2.3M",
      "asOf": "2026-11-15"
    },
    "F29": {
      "label": "License, @vuelidate/core",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Package release, @vuelidate/core",
      "display": "2.0.3",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Undated package release, @vuelidate/core",
      "display": "v2.0.3",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Repository stars, @vuelidate/core",
      "display": "6.9K",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Async validation, @vuelidate/core",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Server errors, @vuelidate/core",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Cross-field rules, @vuelidate/core",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Field arrays, @vuelidate/core",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Install, @vuelidate/core",
      "display": "npm install @vuelidate/core @vuelidate/validators",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "What it does, @vuelidate/core",
      "display": "Adds model-based validation to reactive Vue objects and refs.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, @vuelidate/core",
      "display": "Validates existing reactive models",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, @vuelidate/core",
      "display": "Keep the data in reactive objects or refs.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths lead, @vuelidate/core",
      "display": "Shows server validation errors",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths, @vuelidate/core",
      "display": "Pass server messages through $externalResults to the matching fields.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, @vuelidate/core",
      "display": "Receives long-term maintenance",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, @vuelidate/core",
      "display": "Compare active alternatives before starting a new validation layer.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations lead, @vuelidate/core",
      "display": "Prefer nested components for collections",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "limitations, @vuelidate/core",
      "display": "forEach reruns every validator on every collection change.",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Quickstart, @vuelidate/core",
      "display": "import { reactive } from 'vue' // or '@vue/composition-api' in Vue 2.x\nimport { useVuelidate } from '@vuelidate/core'\nimport { email, required } from '@vuelidate/validators'\n\nexport default {\n  setup () {\n    const state = reactive({\n      name: '',\n      emailAddress: ''\n    })\n    const rules = {\n      name: { required },\n      emailAddress: { required, email }\n    }\n\n    const v$ = useVuelidate(rules, state)\n\n    return { state, v$ }\n  }\n}\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project function, @vuelidate/core",
      "display": "export function useForm<\n  MV extends Obj,\n  FFD extends FormFieldDict<MV> = FormFieldDict<MV>,\n>(form: Ref<MV> | WritableComputedRef<MV>, fields: FFD | (() => FFD)) {\n  const serverErrors = reactive<ServerErrors>({})\n  const validByDefault = { true: () => true as const }\n  // create a fake validation rule for global state to be able to add $externalResult errors to it\n  const rules = ref({ global: validByDefault, form: {} }) as Ref<{\n    global: { true: () => true }\n    form: ValidationArgs<MV>\n  }>\n  function updateRules(ffd: FFD) {\n    const validations = Object.keys(form.value).map((key: keyof MV) => [\n      key,\n      ffd[key].rules ?? validByDefault,\n    ])\n    const formRules: ValidationArgs<MV> = Object.fromEntries(validations)\n    rules.value = { global: { true: () => true }, form: formRules }\n  }\n  if (isFunction(fields)) {\n    watchImmediate(fields, () => {\n      updateRules(toValue(fields))\n    })\n  } else {\n    watchImmediate(\n      Object.keys(form.value).map((key: keyof MV) => () => fields[key].rules),\n      () => updateRules(fields),\n    )\n  }\n\n  const v: Ref<FormValidation<MV>> = useVuelidate(\n    rules,\n    { form, global: null },\n    { $externalResults: serverErrors },\n  )\n\n  function onErrorFn(err: APIError, errorMessage?: string) {\n    if (!(err instanceof APIBadRequestError)) throw err\n    if (errorMessage || !err.data.name) {\n      serverErrors.global = [errorMessage || err.message]\n    } else {\n      deepSetErrors(\n        serverErrors,\n        [err.message],\n        'form',\n        ...err.data.name.split('.'),\n      )\n    }\n  }\n\n  function onSubmit(\n    fn: (onError: typeof onErrorFn, serverErrors: ServerErrors) => void,\n  ) {\n    // FIXME add option to ask confirmation (with param text confirm)\n    return async (e: SubmitEvent) => {\n      e.preventDefault()\n      // Password managers may fill inputs without firing input events\n      const formEl = e.target as HTMLFormElement\n      for (const key of Object.keys(form.value) as (keyof MV)[]) {\n        const el = formEl.elements.namedItem(key as string)\n        if (\n          el instanceof HTMLInputElement &&\n          (el.type == 'text' || el.type == 'password' || el.type == 'email') &&\n          el.value &&\n          !form.value[key]\n        ) {\n          form.value[key] = el.value as MV[keyof MV]\n        }\n      }\n      if (!(await v.value.form.$validate())) return\n      fn(onErrorFn, serverErrors)\n    }\n  }\n\n  provide(clearServerErrorsSymbol, (key?: string) => {\n    const keys = key?.split('.')\n    if (keys?.length) {\n      deepSetErrors(serverErrors, [], ...keys)\n    }\n  })\n\n  return {\n    v,\n    serverErrors,\n    onSubmit,\n  }\n}\n",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project function reference, @vuelidate/core",
      "display": "form.ts · useForm()",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project repository, @vuelidate/core",
      "display": "YunoHost/yunohost-admin",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project stars, YunoHost/yunohost-admin",
      "display": "121",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Project push date, YunoHost/yunohost-admin",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F53": {
      "label": "Library name, @formkit/vue",
      "display": "FormKit Vue",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Monthly downloads, @formkit/vue",
      "display": "561.9K",
      "asOf": "2026-11-15"
    },
    "F55": {
      "label": "License, @formkit/vue",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Package release, @formkit/vue",
      "display": "2.5.0",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Undated package release, @formkit/vue",
      "display": "v2.5.0",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Repository stars, @formkit/vue",
      "display": "4.8K",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Async validation, @formkit/vue",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Server errors, @formkit/vue",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Cross-field rules, @formkit/vue",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Field arrays, @formkit/vue",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "Install, @formkit/vue",
      "display": "npm install @formkit/vue",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "What it does, @formkit/vue",
      "display": "Provides Vue form components, validation, and JSON-schema form generation.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, @formkit/vue",
      "display": "Generates forms from JSON schemas",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, @formkit/vue",
      "display": "Describe fields, groups, and conditional rendering in a serializable schema.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "strengths lead, @formkit/vue",
      "display": "Shapes nested form data automatically",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "strengths, @formkit/vue",
      "display": "Use groups for objects and lists for arrays.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations lead, @formkit/vue",
      "display": "Autocomplete and repeater need Pro",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations, @formkit/vue",
      "display": "These advanced inputs belong to the separate Pro collection.",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "limitations lead, @formkit/vue",
      "display": "Schema expressions are restricted",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "limitations, @formkit/vue",
      "display": "Use the schema expression language instead of arbitrary JavaScript.",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Quickstart, @formkit/vue",
      "display": "<script setup lang=\"ts\">\nconst submitHandler = async function (data: { email: string }) {\n  await new Promise((r) => setTimeout(r, 2000))\n  console.log(data)\n}\n</script>\n\n<template>\n  <h1>Basic Form</h1>\n  <FormKit type=\"form\" @submit=\"submitHandler\">\n    <FormKit\n      type=\"email\"\n      name=\"email\"\n      label=\"Email address\"\n      help=\"What is your email address?\"\n      placeholder=\"jon@foo.com\"\n      outer-class=\"my-class !formkit-outer\"\n    />\n    <FormKit type=\"group\">\n      <FormKit type=\"number\" label=\"Age\" />\n      <FormKit type=\"text\" label=\"Name\" />\n    </FormKit>\n    <FormKit\n      label=\"What's your favorite plant?\"\n      multiple\n      type=\"select\"\n      name=\"planet\"\n      placeholder=\"Select the best planet\"\n      :value=\"['Mercury', 'Venus']\"\n      :options=\"[\n        'Mercury',\n        'Venus',\n        'Earth',\n        'Mars',\n        'Jupiter',\n        'Saturn',\n        'Uranus',\n        'Neptune',\n      ]\"\n    />\n  </FormKit>\n</template>\n",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Library name, @vueform/vueform",
      "display": "Vueform",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Monthly downloads, @vueform/vueform",
      "display": "57.8K",
      "asOf": "2026-11-15"
    },
    "F76": {
      "label": "License, @vueform/vueform",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Package release, @vueform/vueform",
      "display": "1.13.13",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Undated package release, @vueform/vueform",
      "display": "v1.13.13",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Repository stars, @vueform/vueform",
      "display": "1.5K",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Async validation, @vueform/vueform",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Server errors, @vueform/vueform",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Cross-field rules, @vueform/vueform",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Field arrays, @vueform/vueform",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Install, @vueform/vueform",
      "display": "npm install @vueform/vueform",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "What it does, @vueform/vueform",
      "display": "Renders Vue forms and handles validation, conditional fields and submission.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "strengths lead, @vueform/vueform",
      "display": "Adds conditional fields",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths, @vueform/vueform",
      "display": "Show fields when their conditions pass.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths lead, @vueform/vueform",
      "display": "Includes form steps",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths, @vueform/vueform",
      "display": "Split longer forms into steps with built-in step support.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "limitations lead, @vueform/vueform",
      "display": "Conditions change submitted fields",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations, @vueform/vueform",
      "display": "Failing conditions exclude an element’s value from requestData.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "limitations lead, @vueform/vueform",
      "display": "Groups keep data flat",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "limitations, @vueform/vueform",
      "display": "Grouped fields remain at the parent data level.",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Quickstart, @vueform/vueform",
      "display": "<template>\n  <Vueform ref=\"form$\">\n    <ListElement name=\"todos\">\n      <template #default=\"{ index }\">\n        <ObjectElement :name=\"index\">\n          <TextElement name=\"todo\" placeholder=\"To-do\" />\n          <ToggleElement name=\"ready\" text=\"Ready\" />\n        </ObjectElement>\n      </template>\n    </ListElement>\n  </Vueform>\n</template>\n\n<script setup>\nimport { ref, onMounted } from 'vue'\n\nconst form$ = ref(null)\n\nonMounted(() => {\n  const todos = form$.value.el$('todos')\n\n  // Get element value\n  console.log(todos.value) // getting the `todos` as an array\n\n  // Set element value\n  todos.update([\n    { todo: 'Write unit tests', ready: false },\n    { todo: 'Run unit tests', ready: false },\n  ]) // setting `todos` element value\n\n  const firstTodoReady = form$.value.el$('todos.0.ready')\n\n  console.log(firstTodoReady.value) // getting 'false'\n\n  // Set element value\n  firstTodoReady.update(true) // setting `todos.0.ready` element value\n})\n</script>\n",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Project function, @vueform/vueform",
      "display": "export function defineVuesticElement({ name, components, props, emits, propsToOmit, nullValue }: Props) {\n  return defineElement({\n    name,\n    components,\n    props,\n    nullValue: nullValue ?? null,\n    emits,\n    setup(props: any, { element, slots, attrs }: any) {\n\n      const omittedProps = computed(() => omit(props, propsToOmit))\n\n      const { value, update, fire } = element\n\n      const vuesticSlotKeys = Object.keys(slots)\n\n      const listeners = this.emits.reduce((acc: { [x: string]: (...args: any[]) => void }, curr: string | number) => {\n        acc[curr] = (...args: any) => {\n          fire(curr, ...args)\n        }\n        return acc\n      }, {})\n\n      const isError = computed(() => Boolean(props.error || element.errors.value?.length > 0))\n\n      const schemaSlots = computed(() => props.slots)\n\n      const handleInput = (val: any) => update(val)\n      return {\n        value,\n        props: omittedProps,\n        vuesticSlotKeys,\n        attrs,\n        listeners,\n        schemaSlots,\n        isError,\n        handleInput\n      }\n    },\n\n  })\n}\n",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Project function reference, @vueform/vueform",
      "display": "defineVuesticElement.ts · defineVuesticElement()",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Project repository, @vueform/vueform",
      "display": "epicmaxco/vuestic-ui",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Project stars, epicmaxco/vuestic-ui",
      "display": "3.7K",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Project push date, epicmaxco/vuestic-ui",
      "display": "May 2026",
      "asOf": "2026-05-09"
    },
    "F100": {
      "label": "Developer need",
      "display": "Binding fields in an existing UI",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Why choose vee-validate",
      "display": "field models and validated submit handlers",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need in introduction",
      "display": "binding fields in an existing UI",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "When to consider @formkit/vue",
      "display": "forms should be generated from serializable definitions",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Developer need",
      "display": "Generating forms from JSON definitions",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Why choose @formkit/vue",
      "display": "serializable form schemas",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need in introduction",
      "display": "generating forms from JSON definitions",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "When to consider @vueform/vueform",
      "display": "built-in multi-step form support is the priority",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need",
      "display": "Building conditional forms with steps",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Why choose @vueform/vueform",
      "display": "built-in form step support",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need in introduction",
      "display": "building conditional forms with steps",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "When to consider vee-validate",
      "display": "validation must fit an existing component library",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Page introduction",
      "display": "Vue form libraries let web developers manage form input and validation.",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "FAQ: Do all these libraries build the form UI?",
      "display": "VeeValidate works with native HTML or an existing component library.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: Do all these libraries build the form UI?",
      "display": "Vuelidate validates an existing reactive object or refs.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Do all these libraries build the form UI?",
      "display": "Vueform handles rendering, validation, and processing.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Can VeeValidate values be changed directly?",
      "display": "Its values object is read-only; use the provided mutation APIs.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Does the settings example use the stable VeeValidate release?",
      "display": "The pinned Open Pencil project depends on a prerelease, so its raw-schema integration needs separate compatibility review.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Does the settings example use the stable VeeValidate release?",
      "display": "The stable typed-schema guide uses companion adapters for Zod and Valibot.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Is Vuelidate still receiving active feature development?",
      "display": "Its own README says it is in LTS mode and points readers to actively maintained alternatives.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: How should asynchronous Vuelidate rules be registered?",
      "display": "Wrap Promise-returning validators with the withAsync helper from @vuelidate/validators.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Why can collection validation repeat work?",
      "display": "Vuelidate forEach reruns every validator on every item after each collection change; its guide recommends nested validation for complex cases.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Does a FormKit list include a ready-made repeater interface?",
      "display": "The list input is renderless and structures data as an array.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Does a FormKit list include a ready-made repeater interface?",
      "display": "The premium repeater is part of the separate Pro collection.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Can arbitrary JavaScript run inside a FormKit schema expression?",
      "display": "Schema expressions use a templating language rather than full JavaScript syntax.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Do JSON form schemas count as exported files?",
      "display": "FormKit describes a JSON-compatible schema as a way to generate a form.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: What happens to a Vueform field whose conditions fail?",
      "display": "The field becomes unavailable and its value is excluded from requestData.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: How do Vueform groups differ from objects?",
      "display": "GroupElement organizes elements without nesting their data.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: How do Vueform groups differ from objects?",
      "display": "ObjectElement nests the child values in an object.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: How can a custom Vueform element update values and forward events?",
      "display": "The setup context exposes the GenericElement API through element, including update.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "FAQ: How can a custom Vueform element update values and forward events?",
      "display": "Use the element fire method to forward events through schema-defined elements.",
      "asOf": "2026-11-17"
    },
    "F131": {
      "label": "Library name, vee-validate",
      "display": "vee-validate",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Monthly downloads, vee-validate",
      "display": "5.8M",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "License, vee-validate",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Package release, vee-validate",
      "display": "4.15.1",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Package release date, vee-validate",
      "display": "Jun 2025",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Install, vee-validate",
      "display": "npm install vee-validate@4.15.1 vue",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Quickstart, vee-validate",
      "display": "import { useForm } from 'vee-validate';\n\nexport function useNameForm() {\n  const form = useForm({\n    initialValues: { name: '' },\n    validationSchema: { name: value => Boolean(value) || 'Required' },\n  });\n  const [name, nameProps] = form.defineField('name');\n  const submit = form.handleSubmit(values => console.log(values));\n  return { name, nameProps, submit };\n}\n",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Form-level rules, vee-validate",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Automatic submit validation, vee-validate",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Distribution scope, vee-validate",
      "display": "Dedicated form state/validation package",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Valibot integration, vee-validate",
      "display": "Current v4 docs show @vee-validate/valibot.toTypedSchema before passing a Valibot schema to validationSchema.",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Library name, vuetify",
      "display": "Vuetify",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Monthly downloads, vuetify",
      "display": "5.3M",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "License, vuetify",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Package release, vuetify",
      "display": "4.3.4",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Package release date, vuetify",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Install, vuetify",
      "display": "npm install vuetify@4.3.4 vue",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Quickstart, vuetify",
      "display": "<script setup>\nimport { ref } from 'vue';\nimport { VForm, VTextField, VBtn } from 'vuetify/components';\nconst name = ref('');\nasync function submit(event) {\n  const { valid } = await event;\n  if (valid) console.log(name.value);\n}\n</script>\n<template>\n  <VForm @submit.prevent=\"submit\">\n    <VTextField v-model=\"name\" :rules=\"[v => Boolean(v) || 'Required']\" />\n    <VBtn type=\"submit\">Validate</VBtn>\n  </VForm>\n</template>\n",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Official description, vuetify",
      "display": "Provides a Material component framework for Vue.",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Quickstart source file, vuetify",
      "display": "packages/vuetify/src/components/VForm/VForm.tsx",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Form-level rules, vuetify",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Automatic submit validation, vuetify",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Distribution scope, vuetify",
      "display": "Broad UI suite; package downloads include components other than forms",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Validation return, vuetify",
      "display": "Promise<{valid:boolean,errors:{id:string|number,errorMessages:string[]}[]}>",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Library name, element-plus",
      "display": "Element Plus",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Monthly downloads, element-plus",
      "display": "3.1M",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "License, element-plus",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Package release, element-plus",
      "display": "2.14.8",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Package release date, element-plus",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Install, element-plus",
      "display": "npm install element-plus@2.14.8 vue",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Quickstart, element-plus",
      "display": "<script setup>\nimport { reactive, ref } from 'vue';\nimport { ElForm, ElFormItem } from 'element-plus';\nconst form = ref();\nconst model = reactive({ name: '' });\nconst rules = { name: [{ required: true, message: 'Required' }] };\nfunction submit() {\n  form.value.validate(valid => { if (valid) console.log(model.name); });\n}\n</script>\n<template>\n  <ElForm ref=\"form\" :model=\"model\" :rules=\"rules\">\n    <ElFormItem prop=\"name\"><input v-model=\"model.name\" /></ElFormItem>\n    <button type=\"button\" @click=\"submit\">Validate</button>\n  </ElForm>\n</template>\n",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Official description, element-plus",
      "display": "Provides a component library for Vue.",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Quickstart source file, element-plus",
      "display": "packages/components/form/src/form.vue",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Form-level rules, element-plus",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Automatic submit validation, element-plus",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Distribution scope, element-plus",
      "display": "Broad UI suite; package downloads include components other than forms",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Project function, element-plus",
      "display": "formEl => {\n  if (!formEl) return;\n  formEl.validate(valid => {\n    if (valid) {\n      // 多个 file 在一个接口同时上传\n      const formData = createFormData({\n        files: validateForm.fileList.map(file => ({ raw: file.raw })), // file 文件\n        date: validateForm.date // 别的字段\n      });\n      formUpload(formData)\n        .then(({ code }) => {\n          if (code === 0) {\n            message(\"提交成功\", { type: \"success\" });\n          } else {\n            message(\"提交失败\");\n          }\n        })\n        .catch(error => {\n          message(`提交异常 ${error}`, { type: \"error\" });\n        });\n    } else {\n      return false;\n    }\n  });\n}",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Project source file, element-plus",
      "display": "src/views/components/upload/form.vue",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Project full_name, element-plus",
      "display": "pure-admin/vue-pure-admin",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Project stargazers_count, element-plus",
      "display": "20.8K",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Library name, @vuelidate/core",
      "display": "Vuelidate",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Monthly downloads, @vuelidate/core",
      "display": "2.4M",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "License, @vuelidate/core",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Package release, @vuelidate/core",
      "display": "2.0.3",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Package release date, @vuelidate/core",
      "display": "Jun 2023",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Install, @vuelidate/core",
      "display": "npm install @vuelidate/core@2.0.3 vue",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Quickstart, @vuelidate/core",
      "display": "<script setup>\nimport { reactive } from 'vue';\nimport useVuelidate from '@vuelidate/core';\nconst state = reactive({ name: '' });\nconst rules = { name: { required: value => Boolean(value) } };\nconst validation = useVuelidate(rules, state);\nasync function submit() {\n  console.log(await validation.value.$validate());\n}\n</script>\n<template>\n  <form @submit.prevent=\"submit\">\n    <input v-model=\"state.name\" /><button type=\"submit\">Validate</button>\n  </form>\n</template>\n",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Form-level rules, @vuelidate/core",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Automatic submit validation, @vuelidate/core",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Distribution scope, @vuelidate/core",
      "display": "Dedicated form state/validation package",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "State reset semantics, @vuelidate/core",
      "display": "$reset resets nested $dirty state.",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Project function, @vuelidate/core",
      "display": "export function useForm<\n  MV extends Obj,\n  FFD extends FormFieldDict<MV> = FormFieldDict<MV>,\n>(form: Ref<MV> | WritableComputedRef<MV>, fields: FFD | (() => FFD)) {\n  const serverErrors = reactive<ServerErrors>({})\n  const validByDefault = { true: () => true as const }\n  // create a fake validation rule for global state to be able to add $externalResult errors to it\n  const rules = ref({ global: validByDefault, form: {} }) as Ref<{\n    global: { true: () => true }\n    form: ValidationArgs<MV>\n  }>\n  function updateRules(ffd: FFD) {\n    const validations = Object.keys(form.value).map((key: keyof MV) => [\n      key,\n      ffd[key].rules ?? validByDefault,\n    ])\n    const formRules: ValidationArgs<MV> = Object.fromEntries(validations)\n    rules.value = { global: { true: () => true }, form: formRules }\n  }\n  if (isFunction(fields)) {\n    watchImmediate(fields, () => {\n      updateRules(toValue(fields))\n    })\n  } else {\n    watchImmediate(\n      Object.keys(form.value).map((key: keyof MV) => () => fields[key].rules),\n      () => updateRules(fields),\n    )\n  }\n\n  const v: Ref<FormValidation<MV>> = useVuelidate(\n    rules,\n    { form, global: null },\n    { $externalResults: serverErrors },\n  )\n\n  function onErrorFn(err: APIError, errorMessage?: string) {\n    if (!(err instanceof APIBadRequestError)) throw err\n    if (errorMessage || !err.data.name) {\n      serverErrors.global = [errorMessage || err.message]\n    } else {\n      deepSetErrors(\n        serverErrors,\n        [err.message],\n        'form',\n        ...err.data.name.split('.'),\n      )\n    }\n  }\n\n  function onSubmit(\n    fn: (onError: typeof onErrorFn, serverErrors: ServerErrors) => void,\n  ) {\n    // FIXME add option to ask confirmation (with param text confirm)\n    return async (e: SubmitEvent) => {\n      e.preventDefault()\n      // Password managers may fill inputs without firing input events\n      const formEl = e.target as HTMLFormElement\n      for (const key of Object.keys(form.value) as (keyof MV)[]) {\n        const el = formEl.elements.namedItem(key as string)\n        if (\n          el instanceof HTMLInputElement &&\n          (el.type == 'text' || el.type == 'password' || el.type == 'email') &&\n          el.value &&\n          !form.value[key]\n        ) {\n          form.value[key] = el.value as MV[keyof MV]\n        }\n      }\n      if (!(await v.value.form.$validate())) return\n      fn(onErrorFn, serverErrors)\n    }\n  }\n\n  provide(clearServerErrorsSymbol, (key?: string) => {\n    const keys = key?.split('.')\n    if (keys?.length) {\n      deepSetErrors(serverErrors, [], ...keys)\n    }\n  })\n\n  return {\n    v,\n    serverErrors,\n    onSubmit,\n  }\n}",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Project source file, @vuelidate/core",
      "display": "app/src/composables/form.ts",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Project full_name, @vuelidate/core",
      "display": "YunoHost/yunohost-admin",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Project stargazers_count, @vuelidate/core",
      "display": "121",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Library name, quasar",
      "display": "Quasar",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Monthly downloads, quasar",
      "display": "2.0M",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "License, quasar",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Package release, quasar",
      "display": "2.35.5",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Package release date, quasar",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Install, quasar",
      "display": "npm install quasar@2.35.5 vue",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Quickstart, quasar",
      "display": "<script setup>\nimport { ref } from 'vue';\nimport { QForm, QInput, QBtn } from 'quasar';\nconst name = ref('');\nfunction submit() { console.log(name.value); }\n</script>\n<template>\n  <QForm @submit=\"submit\">\n    <QInput v-model=\"name\" :rules=\"[v => Boolean(v) || 'Required']\" />\n    <QBtn type=\"submit\" label=\"Validate\" />\n  </QForm>\n</template>\n",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Official description, quasar",
      "display": "Provides accessible cross-platform Vue.js components for SPA, PWA, SSR, SSG, mobile, and desktop apps.",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Quickstart source file, quasar",
      "display": "dist/api/QForm.json",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Form-level rules, quasar",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Automatic submit validation, quasar",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Distribution scope, quasar",
      "display": "Broad UI suite; package downloads include components other than forms",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Library name, ant-design-vue",
      "display": "Ant Design Vue",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Monthly downloads, ant-design-vue",
      "display": "909.8K",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "License, ant-design-vue",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Package release, ant-design-vue",
      "display": "4.2.6",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Package release date, ant-design-vue",
      "display": "Nov 2024",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Install, ant-design-vue",
      "display": "npm install ant-design-vue@4.2.6 vue",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Quickstart, ant-design-vue",
      "display": "<script setup>\nimport { reactive } from 'vue';\nimport { Form, FormItem, Input } from 'ant-design-vue';\nconst model = reactive({ name: '' });\nconst rules = { name: [{ required: true, message: 'Required' }] };\nfunction finish(values) { console.log(values); }\n</script>\n<template>\n  <Form :model=\"model\" :rules=\"rules\" @finish=\"finish\">\n    <FormItem name=\"name\"><Input v-model:value=\"model.name\" /></FormItem>\n    <button type=\"submit\">Validate</button>\n  </Form>\n</template>\n",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Official description, ant-design-vue",
      "display": "Implements the Ant Design enterprise-class design language in Vue.",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Quickstart source file, ant-design-vue",
      "display": "components/form/index.en-US.md",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Form-level rules, ant-design-vue",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Automatic submit validation, ant-design-vue",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Distribution scope, ant-design-vue",
      "display": "Broad UI suite; package downloads include components other than forms",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Library name, @primevue/forms",
      "display": "PrimeVue Forms",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Monthly downloads, @primevue/forms",
      "display": "805.9K",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "License, @primevue/forms",
      "display": "PrimeUI License",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Package release, @primevue/forms",
      "display": "5.0.5",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Package release date, @primevue/forms",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Install, @primevue/forms",
      "display": "npm install @primevue/forms@5.0.5 vue",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Quickstart, @primevue/forms",
      "display": "<script setup>\nimport { Form, FormField } from '@primevue/forms';\nfunction submit({ values }) { console.log(values); }\n</script>\n<template>\n  <Form :initialValues=\"{ email: '' }\" @submit=\"submit\">\n    <FormField name=\"email\" v-slot=\"field\">\n      <input type=\"email\" v-bind=\"field.props\" />\n    </FormField>\n    <button type=\"submit\">Submit</button>\n  </Form>\n</template>\n",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Official description, @primevue/forms",
      "display": "Form state management and validation for PrimeVue.",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Quickstart source file, @primevue/forms",
      "display": "form/index.d.ts",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Form-level rules, @primevue/forms",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Automatic submit validation, @primevue/forms",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Distribution scope, @primevue/forms",
      "display": "Dedicated form state/validation package",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "License and setup, @primevue/forms",
      "display": "PrimeUI License; Community eligibility restrictions and license-key requirement apply.",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Resolver documentation conflict, @primevue/forms",
      "display": "Versioned5.0.5 README imports zodResolver from @primeuix/forms/zod; unversioned web docs describe @primevue/forms/resolvers.",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Published export conflict, @primevue/forms",
      "display": "Selected5.0.5 README says import useForm from @primevue/forms, but exact root index.d.ts exports Form/FormField only. Runtime root module was unavailable; useForm root export is not certified.",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Submit result, @primevue/forms",
      "display": "FormSubmitEvent carries values, states, valid, errors, and reset. validateOnSubmit defaults true; handler must inspect valid before application side effects.",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Library name, naive-ui",
      "display": "naive-ui",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Monthly downloads, naive-ui",
      "display": "792.8K",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "License, naive-ui",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Package release, naive-ui",
      "display": "2.45.3",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Package release date, naive-ui",
      "display": "Aug 2026",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Install, naive-ui",
      "display": "npm install naive-ui@2.45.3 vue",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Quickstart, naive-ui",
      "display": "<script setup>\nimport { reactive, ref } from 'vue';\nimport { NForm, NFormItem } from 'naive-ui';\nconst form = ref();\nconst model = reactive({ name: '' });\nconst rules = { name: { required: true, message: 'Required' } };\nfunction submit() {\n  form.value.validate(errors => { if (!errors) console.log(model.name); });\n}\n</script>\n<template>\n  <NForm ref=\"form\" :model=\"model\" :rules=\"rules\">\n    <NFormItem path=\"name\"><input v-model=\"model.name\" /></NFormItem>\n    <button type=\"button\" @click=\"submit\">Validate</button>\n  </NForm>\n</template>\n",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Official description, naive-ui",
      "display": "Provides a theme-customizable Vue component library written in TypeScript.",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Quickstart source file, naive-ui",
      "display": "src/form/demos/enUS/index.demo-entry.md",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Form-level rules, naive-ui",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Automatic submit validation, naive-ui",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Distribution scope, naive-ui",
      "display": "Broad UI suite; package downloads include components other than forms",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best Vue form libraries VeeValidate Vuelidate FormKit Vueform code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
