1
0
Fork 0
mirror of synced 2025-04-03 05:13:34 +03:00
No description
Find a file
Justin Schroeder 4b36b9c4ba
Adds validation rules endsWith, startsWith and fixes box classification blur handler
* adds language definitions for new rules

* re-order rules file to order rule definitions alphabetically

* adds support for endsWith validation rule and converts snake_case rules to camelCase function calls

* adds support for startsWith field validation

* better en.js definitions for new validations

* adds tests for snakeCaseToCamelCase function

* coerces all validation messages and validation rules to be camelCase under the hood

* ensures that array syntax rules are properly converted internally to camelCase

* adds more robust tests for non-string type data for endsWith and startsWith validation rules

* adds support for words that start with numbers to snakeToCamel method

renames snakeCaseToCamelCase to snakeToCamel to reduce package size

* Reduces some property name lengths for byte savings

* Fixes bug that caused validation rules to not be displayed on blur for the box classification

Co-authored-by: Justin Schroeder <justin@wearebraid.com>
2020-03-04 13:45:37 -05:00
build Makes rollup not use named exports 2020-02-28 23:30:43 -05:00
dist Adds validation rules endsWith, startsWith and fixes box classification blur handler 2020-03-04 13:45:37 -05:00
src Adds validation rules endsWith, startsWith and fixes box classification blur handler 2020-03-04 13:45:37 -05:00
test Adds validation rules endsWith, startsWith and fixes box classification blur handler 2020-03-04 13:45:37 -05:00
themes fixes classname typos in snow.css, formulatefiles component, and inputs.scss 2020-03-02 13:34:44 -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 2.1.1 2020-03-02 14:01:54 -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.