Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vue-form-generator

vue-generators19.2kMIT2.3.4

A schema-based form generator component for Vue.js

vue, vuejs, form, generator, schema, json

readme

vue-form-generator NPM version VueJS v2.x compatible

A schema-based form generator component for Vue.js.

Codacy Badge Build Status Coverage Status NPMS.io score Package Quality FOSSA Status

Dependency Status devDependency Status Downloads

Demo

JSFiddle simple example

CodePen simple example

Screenshot

Features

  • reactive forms based on schemas
  • multiple object editing
  • 21 field types
  • built-in validators
  • core & full bundles (11kb and 19kb gzipped)
  • Bootstrap friendly templates
  • customizable styles
  • can be extended easily with custom fields
  • ...etc

Documentation

Online documentation on Gitbook

Dependencies

vue-form-generator uses fecha and lodash internally.

While built-in fields don't need external dependencies, optional fields may need other libraries. These dependencies fall into two camps: jQuery or Vanilla. You can find almost the same functionality in both flavors. In the end, it's your choice to depend on jQuery or not.

You can find details about dependencies in the official documentation under each specific component.

Installation

NPM

You can install it via NPM or yarn.

Latest version for Vue 2.x

$ npm install vue-form-generator

Legacy version for Vue 1.0.x

$ npm install vue-form-generator@0.6.1

Manual

Download zip package and unpack and add the vfg.css and vfg.js file to your project from dist folder.

https://github.com/vue-generators/vue-form-generator/archive/master.zip

Core vs Full version

VueFormGenerator come in two version : core and full. Core is a more minimal version with only half the fields. Full is core + other fields.

  • Full bundle: 75 kB (gzipped: 19 kB)
  • Core bundle: 39 kB (gzipped: 11 kB)

If you don't know what to choose, don't worry, the full is the default version. If you want the slim down version, here is the changes:

// the "full" way
<script>
  import VueFormGenerator from "vue-form-generator";
  import "vue-form-generator/dist/vfg.css";  // optional full css additions
</script>

// the "core" way
<script>
  import VueFormGenerator from "vue-form-generator/dist/vfg-core.js";
  import "vue-form-generator/dist/vfg-core.css";  // optional core css additions
</script>

Usage

<template>
  <div class="panel-body">
    <vue-form-generator :schema="schema" :model="model" :options="formOptions"></vue-form-generator>
  </div>
</template>

<script>
import Vue from 'vue'
import VueFormGenerator from 'vue-form-generator'
import 'vue-form-generator/dist/vfg.css'

Vue.use(VueFormGenerator)

export default {
  data () {
    return {
      model: {
        id: 1,
        name: 'John Doe',
        password: 'J0hnD03!x4',
        skills: ['Javascript', 'VueJS'],
        email: 'john.doe@gmail.com',
        status: true
      },
      schema: {
        fields: [
          {
            type: 'input',
            inputType: 'text',
            label: 'ID (disabled text field)',
            model: 'id',
            readonly: true,
            disabled: true
          },
          {
            type: 'input',
            inputType: 'text',
            label: 'Name',
            model: 'name',
            placeholder: 'Your name',
            featured: true,
            required: true
          },
          {
            type: 'input',
            inputType: 'password',
            label: 'Password',
            model: 'password',
            min: 6,
            required: true,
            hint: 'Minimum 6 characters',
            validator: VueFormGenerator.validators.string
          },
          {
            type: 'select',
            label: 'Skills',
            model: 'skills',
            values: ['Javascript', 'VueJS', 'CSS3', 'HTML5']
          },
          {
            type: 'input',
            inputType: 'email',
            label: 'E-mail',
            model: 'email',
            placeholder: 'User\'s e-mail address'
          },
          {
            type: 'checkbox',
            label: 'Status',
            model: 'status',
            default: true
          }
        ]
      },
      formOptions: {
        validateAfterLoad: true,
        validateAfterChanged: true,
        validateAsync: true
      }
    }
  }
}
</script>

Usage in local components

import VueFormGenerator from "vue-form-generator";

//component javascript
export default {
    components: {
        "vue-form-generator": VueFormGenerator.component
    }
};

Development

This command will start a webpack-dev-server with content of dev folder.

npm run dev

Build

This command will build a distributable version in the dist directory.

npm run build

Test

npm test

or

npm run ci

More fields new

VueFormGenerator supports custom fields. If you decide to release your custom field into the wild, please open a new issue so we can add you to a list here! Please try to use this naming convention for your custom field : vfg-field-* Example :

  • vfg-field-myfield
  • vfg-field-calendar
  • vfg-field-awesome-dropdown

This way, it will be easier for everyone to find it. Thank you !

Public Custom Fields

  • vue-tel-input - International Telephone Input Boilerplate with Vue (integrated with VueFormGenerator).
  • vfg-field-sourcecode - A source code field for vue-form-generator
  • vfg-field-array - A vue-form-generator field to handle arrays of items of any type.
  • vfg-field-object - A vue-form-generator field to handle objects, with or without schemas.
  • vfg-field-matrix - A matrix field for vue-form-generator.

Contribution

Please send pull requests improving the usage and fixing bugs, improving documentation and providing better examples, or providing some testing, because these things are important.

License

vue-form-generator is available under the MIT license.

Contact

Copyright (C) 2017 Icebob

@icebob @icebob

changelog

2.3.4 (2019-02-07)

  • 469 - fixes example in README, tested with a fresh vue-cli project (b0037c9)

  • 551 - added "is-disabled" class to the radios label (1e9db8e), closes #551

  • Add vfg-field-matrix into the readme (a898201)
  • added optional field property debounceValidateTime which works at the field level, allowing indivi (d98fa50)
  • Ref #563 - return unique validation errors (prevents multiple validators from returning "this field (f9c699b), closes #563
  • single-quotes fix (5756317)
  • Update validators.js (a282933)
  • updated abstractField test, seems the field.formOptions wasn't being updated, the `this.$parent.op (8c1f462)
  • updated package-lock with latest deps (f7d7c71)

2.3.3 (2018-12-14)

  • 535, #526 - reversed "deep property path" fix (da32bde), closes #535 #526

  • added "item.disabled" logic, supporting both boolean values and a function that is passed a referenc (b227eb4)
  • added "options" to VFG install function, appending custom "validators" to the validators object that (892469e)
  • added "type" attribute to inside buttons schema, defaults to "button" when one is not provided (3306893)
  • added an optional "unique" flag to "getFieldID" that appends lodash "uniqueId" to the ID when true. (ab1daeb), closes #468
  • added newline (5813f0a)
  • Codacy (guard-for-in) fix (4e81d2d)
  • code fix (b3a1010)
  • Fix required number input does not require a value (f95b38c)
  • fixed code structure (3b750b3)
  • fixed single-quotes (dfee175)
  • fixes #480 - dates are always passed to "date" and "datetime-local" elements using the standard form (db3413f), closes #480
  • fixes an issue with fieldPikaday modifying the field schema and attaching this.$el to it, the pika (2024204)
  • listen for model-updated from fields, and fix debounceFormatFunction property to match fieldInpu (7ad1fca)
  • migrated VFG docs to newer GitBooks, created GitHub Repo for Docs to allow for easier maintenance, u (d372f5b)
  • feat: add maxElements slot to fieldVueMultiSelect (2e91a2f)

2.3.2 (2018-10-22)

  • Export dist (9912b5e)
  • Fix deep property path not working (fb02f26)
  • Fix fieldSubmit not calling validate method (c82c44b)
  • Fix Rawgit shut down (34e08a6)
  • docs: replace duplicated 2.3.0 with 2.3.1 (69bbfce)
  • feat(fields): add required attribute to checkbox component (2b3c7e5)
  • feat(fields): add required attribute to radios component (8d04252)

2.3.1 (2018-10-03)

  • Use lodash-webpack-plugin for even better size
  • Added required attribute to textarea

2.3.0 (2018-09-19)

  • Fixed issue with SCSS variables being referenced incorrectly (#449)
  • Updated README to include new third-party VFG Fields
  • Rework of formGenerator use a component
  • Allow HTML for Field Label and Hints
  • Updated package.json URL's for VFG
  • Added a "noResult" slot to FieldVueMultiSelect
  • Include a reference to the VFG instance that triggered a "validated" event (3rd param)
  • Fixed a number parsing bug in IE/Edge with FieldInput
  • Added support for Bootstrap CSS Classes (form-group will not set width on col-* elements)

2.2.2 (2018-04-24)

  • Fix NaN with value 0 on input type number/range.
  • Fix bug in fieldUpload that threw error due to $event not being defined
  • Added $event to onValidationError in fieldSubmit
  • Fixed bug with validationErrorClass and validationSuccessClass depending on each
  • Made DEBOUNCE_FORMAT_MS configurable in fieldInput, just pass debounceFormatTimeout: TIME_IN_MS in field schema
  • $event.preventDefault() called when using async validation with fieldSubmit to prevent unwanted form submissions

2.2.1 (2018-03-09)

2.2.0 (2018-01-21)

  • add console.log (fa779bd)
  • add console.log to debug (d05818e)
  • add indent (026439a)
  • add unscape html for error message. (20b8d9d)
  • added "getLabelClasses" and unit test, using the fieldClasses unit test as an example (8c01307)
  • added labelClasses support (acdbb6c)
  • added missing "id" attributes to checkbox, checklist, radios and submit (09d44c1)
  • added missing comma that failed in Travis (32c7627)
  • added styleClasses support to groups (8b6801b)
  • addeds "styleClasses" to group schemas, reimplements #339 (8e4b43d)
  • bumped vue version to 2.5.3 (7d7c0c4)
  • change the judgement (d4bc27a)
  • check if field.type is undefined before appending the "field-undefined" class (9993550)
  • commit the built bundle (45e1436)
  • commit the built dist (12b3cf7)
  • commit without console.log (79a77bd)
  • delete console.log (ed853a2)
  • don't render labels when no label text is provided, proposed option 1 from #347 (8ecc851)
  • fix bower.json validation (2afb4ac)
  • fixed null check (7842b92)
  • fixed Vue version (624ed92)
  • fixes #340 - "none" value set to null, formatValueToField checks for isNil(value) and returns `n (5b42807), closes #340
  • fixes #341 - introduced debounce functionality into formatValueToModel (a46fe31), closes #341
  • fixes #345 - declare debouncedValidateFunc and set it when debouncedValidate() is called... vue 2.2. (ee684f0), closes #345
  • fixes #358 - support "validateBeforeSubmit" with async validators (5a26ef1), closes #358
  • fixes #361 - use $event.target.valueAsNumber for number/range inputs, debounce formatValueToModel (d1a8bcf), closes #361
  • fixes #362 - integer validator now calls number validator, and returns `invalidIntegerl: "The va (8d436be), closes #362
  • Groupped fields "tag" param fixed. (9275a26)
  • moved unit test to formGenerator, as labels are managed by formGenerator and not the field component (f102967)
  • remove garbage (17eeae5)
  • remove the errorUnescaped property, add v-html on the error part (ecd2ca5)
  • remove uniqueId import (c86d7dc)
  • removed commented out console.log statements (e9bf285)
  • removed console.log and fixed quotes (025b541)
  • removed indentation (49f57b8)
  • requested by @icebob (2724809)
  • reverted back to schema.required for "none selected" disabled state, per @icebob (f562d7f)
  • reverting back to original test (4ba3d4a)
  • Update badges (705c6a7)
  • Update formGenerator.vue (3208446)
  • update node-sass (e3eee64)
  • Update README.md (f57faba)
  • Update README.md (1092e01)
  • Update README.md (9d9701b)
  • updated tests for modified label logic (f0c2281)

2.1.1 (2017-10-20)

2.1.0 (2017-10-20)

2.0.0 (2017-06-30)

  • :package: build (c21f97e)
  • :package: Build v2 stable (f7043b6)
  • Please enter the commit message for your changes. Lines starting (2009272)

  • Add an option to hide the none selected text (b4d2b34)
  • add license badge (c30cbbf)
  • Add missing option (324c0e6)
  • bump version to v2 stable (b84211e)
  • create picker dev (47d9d57)
  • eslint fixes (11763e3)
  • fix #138. Add format to date inputs (c82cd9a), closes #138
  • Fix dev (ab31578)
  • Fix problem with comments and update test (155f5a1)
  • update multiselect ver (181aa06)
  • Update the options for the v2 of multiselect (c868aab)

2.0.0-beta8 (2017-06-01)

2.0.0-beta7 (2017-05-31)

  • :package: build (71e9eb4)
  • :package: build (908100e)
  • :package: build (5105f39)
  • [BUGFIX] Fieldset in proper place un puq template (79c0852)
  • [BUGFIX] vue-form-gerenator class in wrapper div (b5d58ac)
  • [FEATURE] Groups (613e831)
  • Add a props to change the main tag (90b0767)
  • Add support for schema.legend & field id prefixes (a6165c8)
  • Add unit test for vueFormGenerator.fieldTypeHasLabel (c61b941)
  • Added props validation for "tag" and unit test for it. (c728597)
  • Added tests for abstractField.getFieldID() (492514d)
  • bump version (5a30f87)
  • fix checklist validation bug #194 (bea085f), closes #194
  • fix lints (890ed44)
  • fix schema.fields error (d2b67e0)
  • fix tests & layout for fields (ee5ed30)
  • fixed indentation (425faa2)
  • Implement #199 (547ea2e)
  • Make fieldTypeHasLabel test actually work & test default path (d618958)
  • remove .sync (d008869)
  • remove tag from groups (b4dc972)
  • rename options to formOptions because conflicted with vueMultiSelect property (2f29943)
  • rename example & improve code (caa4124)
  • Support bootstrap columns on fields (fc2d47a)
  • Support custom validation classes (378a2a7)

2.0.0-beta6 (2017-04-04)

  • :package: build (4f2cabe)
  • :package: build (dd33ea0)
  • 159 Fix customLabel function from multi-select field to work with object values (84d3e41)

  • 172 Sync model value with files from file upload input (4ac96e4)

  • checklist field now support array of string or array of objects (with name and value propertie (be09146)
  • radios field now support array of string or array of objects (with name and value properties) (0f48c30)
  • add .locale method to every validator (1dc7fb7)
  • Add a is-checked class to element where the input is checked to ease customisation. Add checklist (3facc08)
  • add example to dev (267073c)
  • add test for async validator (e9463c2)
  • bump version (8ced4af)
  • change input event to change on checlist field (e6a2b9a)
  • Change onChange trigger event from change to input for checklist (67a3659)
  • fix #174 (d939c95), closes #174
  • Fix a problem with value define but not an Array (190f67a)
  • fix double validator (7c6d658)
  • Fix error "TypeError: this.value.push is not a function" in checklist (c66b0e9)
  • fix lint (1f99ab6)
  • fix parameters of validators (d97c917)
  • Fix test to reflect changes (6126f25)
  • fix usage example in readme (596b302)
  • Fix validator messages interpolation (6b44e39)
  • Improve readme file. (846cf15)
  • Move some dependency to devDependency (b00e4bb)
  • Provides ability to use strings as validators (36c7829)
  • remove only from test (560d234)
  • simplify code (cd922ee)
  • support async (promised) validators #170 (d50a756)
  • update changelog (385b7be)
  • update code language in readme (3ee0865)
  • Update the unit test to reflect the changes and test for the new behavior. Fix lint error. (1f6150f)
  • Update unit test for checklist (24eb17f)
  • Update unit test for radios (8a94e81)
  • Use this.$set instead of a direct assignation (4b7e118)

2.0.0-beta5 (2017-03-01)

2.0.0-beta4 (2017-02-15)

2.0.0-beta3 (2017-02-10)

2.0.0-beta2 (2017-01-30)

  • :bug: fix examples (b8c82c0)
  • :bug: fix examples (86d2ef4)
  • :package: Build beta2 (ab562bd)
  • Add support for readonly and featured field functions (065d0a7)
  • Allow form fields required state to be controlled with a function, (e08dbbb)
  • Better label support for more inputs: (c727d7a)
  • bump version to 2.0.0-beta2 (94347e7)
  • fix checkbox tests (593307b)
  • Fix eslint errors (6cfde46)
  • Fix some CSS visual bugs (7a786f7)
  • fix some errors (8d3ca97)
  • Fix vue version in examples (ebfc4b0)
  • fix vue-multiselect test errors (2aacb57)
  • Improve labels for better accessibility: (0e2c41c)
  • remove console.log (454fa0e)
  • remove v4 from travis (bbdcc0f)
  • reorganize dev codes (386fa3f)
  • Undo the local port number change for the dev server (2a17ce6)
  • update deps (f4e5709)
  • update readme (eb6328c)
  • Update README.md (ea91365)
  • update travis. Remove v5, add v7 (1d85539)
  • update yarn lock (e57725c)
  • update yarn lock (df5aca0)

2.0.0-beta1 (2016-12-12)

  • docs: changelog updated (9334ce6)
  • :bug: fix $index (80ecf31)
  • :bug: fix examples (8ab6894)
  • :package: first build for Vue 2.x (393461b)
  • Fix a bug with v-model and dynamic type on input. (1d090df)
  • fix validator error (d671057)
  • Update README.md (52c1cb6)
  • Update README.md (acd1e22)
  • Update vuejs version to 2.1.3, and made change accordingly (added vue-template-compiler). Update vue (61b76c1)
  • test: fix checklist tests (f3202fa)
  • test: fix fieldCleave tests (caae630)
  • test: fix selectEx tests (b240183)
  • test: fix test cases (8044f9e)

0.6.1 (2016-11-28)

0.6.0 (2016-11-14)

  • docs: fix npms.io badge url (475eb91)
  • docs: update changelog (6bd9c78)
  • :bug: Fix options prop default #91 (3d2e821), closes #91
  • :package: build (51abcca)
  • :package: Build (ce72dc4)
  • :package: bump version & build (d56f93c)
  • [wip] modification to work with vuejs 2.0. (0b1df2c)
  • add bower (ce44822)
  • add number prop to input field (a40e23c)
  • add step attribute to number field #92 (ce64c4e)
  • Fix #82 (7a83777), closes #82
  • Fix #84 (2c36001), closes #84
  • Fix #84 (58093c7), closes #84
  • fix lints (1f8f3d9)
  • quick fix for #85 (cad76da), closes #85
  • remote customLabel prop from multiselect because give errors (5dfc5bb)
  • remove commit message package (682c6ab)
  • Update README.md (8128a52)
  • test: add test to #82 (aefdbac)
  • test: lock multiselect version (5b0a4d0)
  • fix: aligned with issue #84 (5d6c0c7)
  • fix: customLabel return a basic function when undefined instead of null (9b3d51d)
  • fix: rewrite in jade and commenting problematic fields (35be49e)
  • bug: fix quotes (13d6e0f)
  • new: add form POST example (08412c7)

0.5.0 (2016-09-28)

  • docs: commenting methods (0d7848e)
  • docs: commenting methods (dc17006)
  • docs: remove TODOS from readme (76aeb52)
  • docs: update changelog (3f0db9f)
  • :bug: fix: Fixed #75 (f8db7b0), closes #75
  • :package: build (af75ebc)
  • :package: Build v.0.5.0 (b67ada9)
  • Add dynamic class to help styling of the noUiSlider field (2ce1938)
  • add test for radios field and update schema (07605c1)
  • Bump version to v0.5.0 (14b34be)
  • code maintenance (307e903)
  • creation of two computed value to avoid a warning from Vue in noUiSlider field (6f5b71d)
  • fix #71 format value to properly interact with model and other fields (b48c7f1), closes #71
  • fix linting (4bc0601)
  • format date related fields values (cf2f577)
  • hideInput prop in dev schema (b68f94f)
  • Implement #78 (f92b193)
  • rename dateTime to dateTimePicker and slider to rangeSlider (5830e85)
  • rename field html5 to input (323968e)
  • rename sliderOptions to noUiSliderOptions to follow schema logic (7f4afa9)
  • update dependencies #79 (7298080)
  • Update README.md (f70b5e8)
  • Update README.md (7d89746)
  • Update README.md (a8ec66e)
  • update schema (bce9070)
  • Update schema and data for dev (4c76f21)
  • update schema and fix a test (b97c6bd)
  • fix: check value correspond to selected value (b00e777)
  • fix: fix Codacy issues (deb50b6)
  • fix: forgot the new method getStartValue() (13b74e3)
  • fix: missing closing bracket (42c42b0)
  • fix: moment import (ebf7484)
  • fix: remove console.log (7cf484a)
  • new: hideInput prop in fieldImage #77 (deb4ec5)
  • new: new "radios" field (7106394)
  • new: new field html5 input (5189b99)
  • test: add attr checker to switch field (2ed434e)
  • test: add file input attr test (352fb20)
  • test: attr test to submit field (1627c71)
  • test: deactivate a unit test. Add a better check to avoid "undefined" warning on a condition. (4afccd3)
  • enhancement: staticMap updated with more options for more flexibility. Test updated to reflect chang (65c8ac2)

0.4.1 (2016-09-08)

  • docs: update changelog (67ed6f3)
  • :arrow_up: change fontawesome help icon to img #61 (70baca6)
  • :bug: bug: "Invalid date" message in pikaday field. Change dev schema for a simple one. Delete defau (a45188a)
  • :package: build (60dda5f)
  • :package: build (2e94d52)
  • :package: Build v0.4.1 (9fee72a)
  • :white_check_mark: test: add test to custom field (80d1025)
  • Bump version to v0.4.1 (4e0e031)
  • support custom fields & example #62 (e61824a)
  • fix: change test depending on changes (c645cea)
  • fix: re-added placeholder in field password and number (and corresponding test) (79bfee6)
  • fix: remove comment, trailing space and duplicate from tests (e618253)
  • fix: remove readonly attribute on select element (2e5e16b)
  • fix: remove useless attributes (5745318)
  • fix: update of attributes of Checklist, Text and Textarea fields. (ce3a91c)
  • test: update to many test to check optional attributes (ebf3f01)
  • dev: remove console log (3ffeef1)
  • enhancement: add minlength attribute to textarea (a7e39d9)
  • enhancement: add missing "autocomplete", "placeholder" and "readonly" attr to input fields. Ordered (f5af70c)

0.4.0 (2016-08-30)

  • noUISlider: minor changes (1f22d80)
  • docs: update changelog (672e656)
  • fix: add a .jsbeautify to help with linting (acfa264)
  • fix: add disabled option to noUiSlider field (c169cb3)
  • fix: add disabled option to noUiSlider field (6d10687)
  • fix: added missing options for VueMultiselect. Removed min from dev schema (not used). (a9bb8ae)
  • fix: better selector for the main component and added latest build (b2fcef1)
  • fix: buttonText instead of caption (d4b25a9)
  • fix: buttonText instead of caption for unit test file (f47f704)
  • fix: Cleavejs better mask definition (34a6401)
  • fix: Cleavejs better mask definition (e338e6d)
  • fix: Fixed fragment instances #28 (0f9863c), closes #28
  • fix: fragment instance warning (f9915e6)
  • fix: handle disabled and max props of VueMultiSelect better (e59bcc1)
  • fix: handle disabled and max props of VueMultiSelect better (9a6fc4b)
  • fix: handle missing library better (99b6a4d)
  • fix: handle missing library better (ec93745)
  • fix: lint error (a2665dd)
  • fix: lint error and warning (24c49d9)
  • fix: lint error and warning (54a3502)
  • fix: package version for extract-text-webpack-plugin (778a9ff)
  • fix: remove jQuery from eslint (74cc91d)
  • fix: small bug with quotes (71ae504)
  • test: add external libs to karma (776f6c4)
  • test: basic unit testing (f870dae)
  • test: fix pikaday expect error (60a0868)
  • test: improve karma debug page (8a094c8)
  • test: improve testing of noUiSlider (59d5036)
  • test: improve testing of noUiSlider (42c9ea9)
  • test: improve testing of VueMultiSelect (09a41f0)
  • test: improve unit testing of vueMultiSelect (1b24293)
  • test: improve unit testing of vueMultiSelect (1c09c30)
  • test: progress on noUiSlider (dea27a2)
  • test: progress on noUiSlider (2e7380f)
  • test: querySelector instead of querySelectorAll (00bfbda)
  • test: querySelector instead of querySelectorAll (136b112)
  • test: unit test for field slider (bb9410d)
  • test: unit test for fieldCleave (012ee91)
  • test: unit test for fieldGoogleAddress (63d47aa)
  • test: unit test for fieldSpectrum (0b65bdb)
  • style: add box-sizing (841f20d)
  • style: image remove button change to inline img (92cea99)
  • dev: add a basic color field for testing (49e8d43)
  • dev: add another port to karma watch, so that it raise no warning when both commands (test and ci) r (04a71a0)
  • dev: noUiSlider with scale (e1b4126)
  • dev: noUiSlider with scale (dfef1f1)
  • :arrow_up: Fixed #37 (f4f1f18), closes #37
  • :bug: fix: eslint warning (65b4d59)
  • :bug: fix: remove jQuery code (d0a32cd)
  • :bug: test: Fix noUiSlider test #46 (7bfffb1), closes #46
  • :new: new: add fieldGoogleAddress #33 (91f9317)
  • :new: new: new field type: Cleave. Reorganization of dev index file. (c6e3f5e)
  • :new: new: new field type: noUiSlider (9abf3e2)
  • :new: new: new field type: Pikaday. (b0e3e96)
  • :new: new: new field type: Vue Multiselect (cef52cb)
  • :package: build (3ab09df)
  • :package: build (def5d7d)
  • :package: build (d7c225a)
  • :package: build (1228b64)
  • :package: build (fe76993)
  • :package: Build (81073bc)
  • :package: Build v0.4.0 (320bacf)
  • :pencil: docs: fix typo (ae02461)
  • :pencil: docs: update readme (236e9d0)
  • :pencil: update README (09f1acf)
  • :pencil2: docs: update readme (06f55ac)
  • :pencil2: docs: update readme (6c84c69)
  • :star: webpack: add stats plugin to webpack (031f9b0)
  • :up: dep: update dependencies (4ab7a8e)
  • :up: fix lint errors (f84be2b)
  • :up: improve new fields (d8e5a8e)
  • :white_check_mark: fix selectex unit test (d908f39)
  • :white_check_mark: test: add fieldCleave & fieldPikaday tests (22d98b4)
  • :white_check_mark: test: add fieldMasked unit test (19f5d98)
  • :white_check_mark: test: fix fieldDateTime test (14c0602)
  • :white_check_mark: test: improve multiselect test (9a26911)
  • [package] update package.json (c5b6f33)
  • Add all remainning props and some events (onNewTag & onSearch) from multiselect and update dev s (dba3ed7)
  • add every component to the body (8e528b4)
  • add extracted css to package.json (31a578d)
  • add fieldSubmit.vue (9a149d3)
  • added most options from vue-multiselect (9df5b5e)
  • change to fix versions (8c45e38)
  • create test for fieldSubmit (7b575c3)
  • downgrade mocha (f808219)
  • fix pikaday unit test (23f5a90)
  • improve code quality (cd7029f)
  • improve code quality (2d2a819)
  • Remove dependency from vue-multiselect. Make it optional and check if loaded. Add it to dev files. (7e3472d)
  • remove minimized version. #41 (1867165)
  • remove node v0.12 because eslint doesn't support it (314c412)
  • remove submit field from dev sample (66d201d)
  • Small changes to fieldSwitch to allow easier customization of the width of the switch. (5a4769e)
  • update dependencies (72d862b)
  • Update README.md (f4e7a5b)
  • Update README.md (2eae985)
  • example: change font settings (6061d4e)
  • improve: simple example is more simple (da5d8cc)
  • styles: add bootstrap styles to .form-control and buttons (3e7dfc9)
  • styles: default input width 100%, fieldColor is changed to fix width (9fc302d)
  • styles: fix .wrapper styles (49d122e)
  • styles: fix checkbox style (8e5bb9d)
  • styles: fix fieldLabel style selector (b910b3d)
  • styles: fix half-width style in dev app (977d12d)
  • styles: fix styles of field (03fd9d2)
  • styles: remove shadow from fieldSwitch (e0ea478)
  • styles: some minor changed (8204f59)
  • enhancement: add global class .vue-form-generator. Rewriting of most selector for a more encapsula (e864d10)
  • enhancement: extract styles to a vue-form-generator.css file. (21c8876)
  • enhenhancement: remove scoped styles (1c46aef)
  • enhenhancement: remove scoped styles (4a4641c)

0.3.0 (2016-07-07)

  • :arrow_up: bump version (249376f)
  • :new: implement #14 (c6d0a76)
  • :package: build (9e91fcb)
  • :package: build: v0.3.0 (8780d3b)
  • :pencil: docs: update changelog (3f3aa31)
  • add maxlength property to fieldText (3fede6d)
  • cover validators.required method (df2516c)
  • Move validator error messages to resources #15 (302ba3f)
  • remove joi dependency (31c24f1)
  • improve: minor change dev code (84b0a2c)

0.2.0 (2016-06-16)

  • docs: fix typo in readme (5530c99)
  • docs: update changelog (52fc88c)
  • docs: Update changelog (77b92b6)
  • docs: update readme (b66f9a9)
  • :bug fix: validation bugs (a403971)
  • :bug: fix: checkbox readonly (a3d330e)
  • :bug: fix: Handle non selected lists (1714776)
  • :bug: test: fix datetime bugs (3c132e3)
  • :new: new: multiple fields in a row (da4f766)
  • :new: new: new field type: Switch (534c384)
  • :package: bump version to v0.2.0 (e7b5130)
  • :pencil: Update readme example (0b1c36f)
  • :pencil2: docs (4940592)
  • :pencil2: docs (30ff08d)
  • :pencil2: docs (3bb625f)
  • :pencil2: docs: Add docs link to readme (ca1b180)
  • :pencil2: docs: Remove from project (5f70de9)
  • :rocket: breaking: change form layout (57f690b)
  • :star: new: change slider to ion.rangeSlider (059cde5)
  • :start: new: add validator for array (f0d4c4e)
  • :white_check_mark: test: abstractField.vue covered 100% (d0be50b)
  • :white_check_mark: test: Add field test cases (adb4f88)
  • :white_check_mark: test: add tests to dateTime field (4cd7bc6)
  • :white_check_mark: test: Cover 100% the VueFormGenerator.vue (6a6299e)
  • :white_check_mark: test: cover 94% (8bede7f)
  • :white_check_mark: test: cover all source files (1d4d898)
  • :white_check_mark: test: improve fieldImage tests (a5d714d)
  • :white_check_mark: test: Make abstractField test cases (564963f)
  • :white_check_mark: test: More fields test cases (4496149)
  • :white_check_mark: test: More fields test cases (c1c57be)
  • :white_check_mark: test: remove dep. warning (f04f59d)
  • :white_check_mark: test: schema test cases (540eb63)
  • :white_check_mark: test: validator tests (8847b26)
  • :zap: Impove example (1193b8f)
  • add TODO (5674df0)
  • Build v0.2.0 (023b342)
  • improve styles for multiple fields in a row (d57f829)
  • Minor changes (28ee7a8)
  • Modify examples (ad2c359)
  • Update babel dependencies (87738f5)
  • Update README.md (03d9d1b)
  • Update README.md (ba41387)
  • test: cover fieldSwitch (e31c4ba)
  • test: Fix sinon imports (81531fe)
  • fix: Fix schema in dev example (b6f9f57)
  • fix: lint warnings (564c0e5)
  • fix: remove describe.only (9bd87a9)
  • improve: sass variable for width in switch field (e01b816)
  • chore(package): update conventional-github-releaser to version 1.1.3 (25477c9)
  • chore(package): update eslint to version 2.12.0 (11d00cc)
  • chore(package): update gitbook-cli to version 2.3.0 (83238cc)
  • chore(package): update joi to version 8.4.2 (2bc58c5)
  • chore(package): update vue to version 1.0.24 (adc2a15)
  • new: change faker.js to fakerator (3184fa4)
  • build: new dist files (932a20d)
  • config: add coverall script to npm (bee378f)
  • config: modify coverage scripts (ec86030)

0.1.1 (2016-05-07)

0.1.0 (2016-05-03)