1
0
mirror of synced 2024-11-22 05:16:05 +03:00
Go to file
Justin Schroeder adf8299a33
Feature/form errors (#13)
* Adds support form FormulateError form errors

* Adds support for form-errors prop

Also includes tests for both named-form-errors as well, form-errors prop, positioning form errors with the <FormulateErrors /> component, and allowing multiple <FormulateErrors />

* Adds form error support, error handling, and supporting tests

* Remove unused util functions

* fixes bug that resulted in validation failing if run more than once

Credit to @luan-nk-nguyen for discovering the bug

Co-authored-by: Andrew Boyd <andrew@wearebraid.com>
2020-03-06 16:10:25 -05:00
build Makes rollup not use named exports 2020-02-28 23:30:43 -05:00
dist Feature/form errors (#13) 2020-03-06 16:10:25 -05:00
src Feature/form errors (#13) 2020-03-06 16:10:25 -05:00
test Feature/form errors (#13) 2020-03-06 16:10:25 -05:00
themes Feature/form errors (#13) 2020-03-06 16:10:25 -05:00
.editorconfig Initial stable functionality 2018-01-30 17:21:21 -05:00
.eslintignore Removes old cache directory 2020-02-27 23:46:25 -05:00
.eslintrc.js Initial commit of the version 2 rewrite 2019-10-07 10:24:30 -04:00
.gitignore Updates package to version 2.0.0 2020-02-27 23:49:55 -05:00
.travis.yml Updates build to use node 11 2019-11-01 14:35:06 -04:00
babel.config.js Removes debugging artifacts for Travis CI troubleshooting 2019-11-01 21:03:01 -04:00
LICENSE.txt Update license year 2020-02-27 22:36:53 -05:00
package-lock.json 2.1.1 2020-03-02 14:01:54 -05:00
package.json Feature/form errors (#13) 2020-03-06 16:10:25 -05:00
README.md Minor typo in readme 2020-02-29 04:40:28 +01:00

VueFormulate

npm GitHub

Documentation Website

What is Vue Formulate?

Vue Formulate is the easiest way to build forms using Vue. Key features include form and field validation, file uploads, form generation and a single-element fields with labels, help text, error messages, placeholders and lots more.

The syntax is what developers would expect:

<FormulateInput
  v-model="value"
  type="email"
  name="email"
  label="What is your email address"
  help="Where should we contact you?"
  validation="required|email"
/>

✓ Create any input element with a single component
✓ Supports Vue v-model binding
Re-populate an entire form from a single object
Generate a form using json
✓ Easy to add field labels
✓ Easy to add help text
✓ Easy to add form validation
✓ Easy to add custom validation rules
✓ Easy to modify validation messages
✓ Easy to add custom inputs

There's a lot more available to read at the documentation website.