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>
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
Languages
JavaScript
58.4%
TypeScript
26.6%
Vue
14.8%
Makefile
0.2%