- Bugfix: Fixes#60, a bug that caused an evaluation loop when selects or box types used an empty array as the options prop. Adds supporting test cases.
- Merges in #61 which passes the form name to the error handler function. Adds supporting test cases.
* Adds validation events
Adds validation events on FormulateInput and FormulateForm — also refactors some of the context object to get ensure errors are available in context (for future scoped slot work that is relevant to this).
Co-authored-by: Christoph Wagner <christoph@cwagner.me>
* Upgrades vue-formulate-i18n to 1.3.0 for Italian support
* Fixes issue #35 data-has-preview (#38)
* Adds build files for 2.2.3
* Updates vue-formulate-i18n to 1.3.1
* 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
* Adds german localization locales/de.js (#14)
* Create de.js
* Added startsWith and endsWith
* adds build process for localization support, removes dist
* Adds danish localization
* fixes bug that resulted in validation failing if run more than once
Credit to @luan-nk-nguyen for discovering the bug
* Moves locales to vue-formulate-i18n
* Adds dist files for locales
* Adds vue-formulate-i18n 1.0.1
* Uses i18n 1.0.3
* Build files
* Fixes#19
* Update src/locales/README.md
Co-Authored-By: Andrew Boyd <andrew@wearebraid.com>
* changes v-html to v-text for error message output
credit to @skix123 for the bug report!
Co-authored-by: Andrew Boyd <andrew@wearebraid.com>
* 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>
* 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>
* 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
These shell commands are defined internally. Type `help' to see this list.
Type `help name' to find out more about the function `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.
A star (*) next to a name means that the command is disabled.
JOB_SPEC [&] (( expression ))
. filename [arguments] :
[ arg... ] [[ expression ]]
alias [-p] [name[=value] ... ] bg [job_spec ...]
bind [-lpvsPVS] [-m keymap] [-f fi break [n]
builtin [shell-builtin [arg ...]] caller [EXPR]
case WORD in [PATTERN [| PATTERN]. cd [-L|-P] [dir]
command [-pVv] command [arg ...] compgen [-abcdefgjksuv] [-o option
complete [-abcdefgjksuv] [-pr] [-o continue [n]
declare [-afFirtx] [-p] [name[=val dirs [-clpv] [+N] [-N]
disown [-h] [-ar] [jobspec ...] echo [-neE] [arg ...]
enable [-pnds] [-a] [-f filename] eval [arg ...]
exec [-cl] [-a name] file [redirec exit [n]
export [-nf] [name[=value] ...] or false
fc [-e ename] [-nlr] [first] [last fg [job_spec]
for NAME [in WORDS ... ;] do COMMA for (( exp1; exp2; exp3 )); do COM
function NAME { COMMANDS ; } or NA getopts optstring name [arg]
hash [-lr] [-p pathname] [-dt] [na help [-s] [pattern ...]
history [-c] [-d offset] [n] or hi if COMMANDS; then COMMANDS; [ elif
jobs [-lnprs] [jobspec ...] or job kill [-s sigspec | -n signum | -si
let arg [arg ...] local name[=value] ...
logout popd [+N | -N] [-n]
printf [-v var] format [arguments] pushd [dir | +N | -N] [-n]
pwd [-LP] read [-ers] [-u fd] [-t timeout] [
readonly [-af] [name[=value] ...] return [n]
select NAME [in WORDS ... ;] do CO set [--abefhkmnptuvxBCHP] [-o opti
shift [n] shopt [-pqsu] [-o long-option] opt
source filename [arguments] suspend [-f]
test [expr] time [-p] PIPELINE
times trap [-lp] [arg signal_spec ...]
true type [-afptP] name [name ...]
typeset [-afFirtx] [-p] name[=valu ulimit [-SHacdfilmnpqstuvx] [limit
umask [-p] [-S] [mode] unalias [-a] name [name ...]
unset [-f] [-v] [name ...] until COMMANDS; do COMMANDS; done
variables - Some variable names an wait [n]
while COMMANDS; do COMMANDS; done { COMMANDS ; } prop