1
0
mirror of synced 2025-01-31 14:51:41 +03:00
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
2020-02-28 23:30:43 -05:00
2018-01-30 17:21:21 -05:00
2020-02-27 23:46:25 -05:00
2020-02-27 23:49:55 -05:00
2019-11-01 14:35:06 -04:00
2020-02-27 22:36:53 -05:00
2020-03-02 14:01:54 -05:00
2020-03-02 14:01:54 -05:00
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.

Description
No description provided
Readme 4.2 MiB
Languages
JavaScript 58.4%
TypeScript 26.6%
Vue 14.8%
Makefile 0.2%