All Projects → formvuelate → Formvuelate

formvuelate / Formvuelate

Licence: mit
Dynamic schema-based form rendering for VueJS

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Formvuelate

view component-form
Rails FormBuilder for ViewComponent
Stars: ✭ 120 (-54.2%)
Mutual labels:  forms, form-builder
ember-formly
JavaScript powered forms for Ember
Stars: ✭ 24 (-90.84%)
Mutual labels:  forms, form-builder
django-siteforms
Django reusable app to simplify form construction
Stars: ✭ 15 (-94.27%)
Mutual labels:  forms, form-builder
Fielder
A field-first form library for React and React Native
Stars: ✭ 160 (-38.93%)
Mutual labels:  schema, forms
React Reactive Form
Angular like reactive forms in React.
Stars: ✭ 259 (-1.15%)
Mutual labels:  forms, form-builder
Vue Form Json Schema
Create forms using JSON schema. Bring your components!
Stars: ✭ 253 (-3.44%)
Mutual labels:  schema, forms
element-schema-form
A schema-based element-ui form component for Vue2.x.
Stars: ✭ 31 (-88.17%)
Mutual labels:  schema, form-builder
Formmaster
Easily build big and bigger forms with minimal effort
Stars: ✭ 152 (-41.98%)
Mutual labels:  forms, form-builder
react-emotion-multi-step-form
React multi-step form library with Emotion styling
Stars: ✭ 25 (-90.46%)
Mutual labels:  forms, form-builder
django-formidable
On the way to glory! again!
Stars: ✭ 19 (-92.75%)
Mutual labels:  forms, form-builder
Meteor Autoform
AutoForm is a Meteor package that adds UI components and helpers to easily create basic forms with automatic insert and update events, and automatic reactive validation.
Stars: ✭ 1,453 (+454.58%)
Mutual labels:  schema, forms
grav-plugin-form
Grav Form Plugin
Stars: ✭ 48 (-81.68%)
Mutual labels:  forms, form-builder
Schema
Package gorilla/schema fills a struct with form values.
Stars: ✭ 884 (+237.4%)
Mutual labels:  schema, forms
react-forms-processor
A forms processor for React
Stars: ✭ 63 (-75.95%)
Mutual labels:  forms, form-builder
Core
The Form Tools Core.
Stars: ✭ 156 (-40.46%)
Mutual labels:  forms, form-builder
react-cool-form
😎 📋 React hooks for forms state and validation, less code more performant.
Stars: ✭ 246 (-6.11%)
Mutual labels:  forms, form-builder
Form Manager
PHP library to create and validate html forms
Stars: ✭ 124 (-52.67%)
Mutual labels:  forms, form-builder
Forms
📝 Simple form & survey app for Nextcloud
Stars: ✭ 127 (-51.53%)
Mutual labels:  forms, form-builder
formio
Formio, form definition and binding library for Java platform
Stars: ✭ 24 (-90.84%)
Mutual labels:  forms, form-builder
yii2-forms
Forms CRUD - formbuilder, generator code
Stars: ✭ 32 (-87.79%)
Mutual labels:  forms, form-builder

FormVueLate 2.0 (Vue 3)

FormVueLate Logo

https://www.npmjs.com/package/formvuelate Buy us a tree

Visit FormVueLate 2.0's full documentation for more detailed information and examples.

Getting Started

FormVueLate is a zero dependency library that allows you to generate schema-driven forms with extreme ease.

The schema that you use for your form can be as flexible as you need it to be, it can be modified at run-time with an expected reactive result, and can even be fetched directly from you backend’s API.

Important

FormVueLate is a bring-your-own-components library!

We do not provide any base components for your to build your forms. There are numerous component libraries out there that do a great job of providing carefully constructed components for you to use, and FormVueLate does a great job at allowing you to bring those external components to your forms, or even crafting your own.

Installation

To add FormVueLate to your project, start by installing the package through your favorite package manager.

yarn add formvuelate
// OR
npm install formvuelate

Now that you have the package in your project, import it to your component.

import { SchemaForm } from 'formvuelate'

The SchemaForm requires two props. The first is the schema, which is the meta-data of your form. The second one is modelValue, which will hold the state of the form.

<SchemaForm :schema="mySchema" :modelValue="formData" />

The SchemaForm will $emit update:modelValue events when your components update. This means that you are able to either:

  • use v-model on it
  • or, manually capture the @update:modelValue event with a method of your own while injecting the :modelValue property.

Example with v-model:

<template>
  <SchemaForm :schema="mySchema" v-model="formData" />
</template>

<script>
import { reactive } from 'vue'
export default {
  setup() {
    const formData = reactive({})
    const mySchema = reactive({
      // some schema here
    })

    return {
      formData,
      mySchema
    }
  }
}}
</script>

Example with manual bindings:

<template>
  <SchemaForm
    :schema="mySchema"
    :modelValue="formData"
    @update:modelValue="updateForm"
  />
</template>

<script>
import { reactive } from 'vue'
export default {
  setup() {
    const formData = reactive({})
    const mySchema = reactive({
      // some schema here
    })

    const updateForm = form => {
      formData = form
    }

    return {
      formData,
      mySchema,
      updateForm
    }
  }
}}
</script>

Official plugins

Vuelidate Plugin

Easily incorporate Vuelidate powered validations into your forms.

Lookup Plugin

A mapping and replacement plugin to parse complex schemas into FormVueLate ready structure.

Core team

Marina Mosti
Marina Mosti
Damian Dulisz
Damian Dulisz
Tonina Zhelyazkova
Tonina Zhelyazkova

Licence

This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].