1
0
mirror of synced 2024-11-23 22:06:07 +03:00
Commit Graph

98 Commits

Author SHA1 Message Date
Justin Schroeder
27bd2bda26 Initial commit of the version 2 rewrite 2019-10-07 10:24:30 -04:00
Justin Schroeder
d13f306479 Adds support for option groups on select lists 2019-09-24 11:28:15 -04:00
Justin Schroeder
339ff51666 Adds the ability to disable individual input boxes 2019-09-23 16:47:02 -04:00
Justin Schroeder
9e54d53283 Fixes bug that causes textareas to not recieve proper data-classification 2019-09-10 01:08:04 -04:00
Justin Schroeder
aa367c4bd4 Adds support for focus class on formulate wrapper 2019-03-18 13:48:26 -04:00
Chris Ellinger
9785e5fb26 Adds pattern as an attribute and adds number as a rule for validation (#11) 2018-11-20 11:51:32 -05:00
Justin Schroeder
8bc3ff3dae Fixes a race condition that could add validation errors for fields that had been removed 2018-11-01 17:04:05 -04:00
Justin Schroeder
55368defd1 Fixes a race condition that could add validation errors for fields that had been removed 2018-11-01 17:03:05 -04:00
Justin Schroeder
b0de7b5ee7 Field's without initial values commit undefined values, this fixes failing validation 2018-10-30 11:14:07 -04:00
Justin Schroeder
98734e3f74 Adds support for the step attribute 2018-10-15 23:21:31 -04:00
Justin Schroeder
a012b120ba Adds maxlength attribute support 2018-08-08 23:30:16 -04:00
Justin Schroeder
73ae9db111 Adds wrappers around box inputs 2018-05-18 23:47:14 -04:00
Justin Schroeder
c5e90171e6 New Feature: FormulateElement now supports help text via the new GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)
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
2018-05-18 14:46:04 -04:00
Justin Schroeder
25c618a4cf Fixes issue #6. Changes validation to occur via watcher of the vuex store 2018-04-10 10:51:26 -04:00
Justin Schroeder
21a83d0d50 Builds in support for disabled buttons fields and button content slots 2018-04-09 11:51:14 -04:00
Justin Schroeder
c85b35cb03 Adds production build for 0.8.0 2018-03-30 14:56:41 -04:00
Justin Schroeder
dde830dbd0 Adds textarea support 2018-03-30 14:51:47 -04:00
Justin Schroeder
c02528de4a Adds support for element-classes attribute allowing classes to be added to the interior elements. Closes #5 2018-03-19 09:58:45 -04:00
Justin Schroeder
a66e72ac2f Rebuilt distribution files 2018-03-14 14:33:38 -04:00
Justin Schroeder
c219633ebf
Adds an example to the project
Documentation update, and example idea and initial contribution by: Martin Bramwell <mhb.warehouseman@gmail.com>

* Adds an example form and updates documentation to reflect curried function
2018-03-14 09:49:40 -05:00
Justin Schroeder
c1e4b3948c Components now deregister themselves when removed 2018-03-07 15:44:35 -05:00
Justin Schroeder
2ea9ed4134 Adds the ability to reset a form with new resetForm mutation 2018-03-02 15:14:47 -05:00
Justin Schroeder
5b496a56bc Removes console log 2018-02-28 17:24:55 -05:00
Justin Schroeder
d7bc86b077 Fixes bug with v-if formulate-elements that had initial values 2018-02-28 11:47:34 -05:00
Justin Schroeder
abcc8fffa3 Adds transition element around formulate-errors-list 2018-02-27 10:18:31 -05:00
Justin Schroeder
9cc1105a21 formulate-errors now uses a transition-group wrapper to allow for vue transitions 2018-02-27 09:04:07 -05:00
Justin Schroeder
f12774532a Adds support for 'text' classification 2018-02-26 22:31:59 -05:00
Justin Schroeder
d289575a13 Adds build 2018-02-26 22:26:29 -05:00
Justin Schroeder
39b92f70ce Adds build file 2018-02-26 22:24:11 -05:00
Justin Schroeder
03054ebef7 Adds data-type attribute, and formulate-element--type-- to formulate elment wrappers 2018-02-26 22:15:15 -05:00
Justin Schroeder
daef2b8a2b Fixes reactivity issue for mergedInitials 2018-02-16 14:29:41 -05:00
Justin Schroeder
7239e229bd Last patch did not include compiled code 2018-02-16 00:19:11 -05:00
Justin Schroeder
fde067d974 Fixes bug causing FormulateElement's initial prop to occasionally be overwritten by the Formulate initial prop 2018-02-15 23:55:36 -05:00
Justin Schroeder
3a9b1093db Adds support for numbers to initial prop 2018-02-15 23:30:06 -05:00
Justin Schroeder
46ac900f0e Adds support for new errors prop on the Formulate element that passes errors down to child elements. Also forms no longer prevent submission if they only have local errors. This can be changed with a prevent="all" prop on the Formulate element. 2018-02-15 23:21:29 -05:00
Justin Schroeder
de79e33aef Adds support for option list attributes, like disaled 2018-02-07 15:51:47 -05:00
Justin Schroeder
797a52bb5a Fixes a reactivity issue with initial props 2018-02-05 14:17:26 -05:00
Justin Schroeder
a8a2be0820 Fixes bug that prevent validationLabel from being used in error messages 2018-02-02 13:38:05 -05:00
Justin Schroeder
a7211a270a Compiled for distribution 2018-02-02 12:12:45 -05:00
Justin Schroeder
8efe308f98 Fixes an insideous bug that was causing vuex mutations in deeply linked prop data 2018-02-02 12:07:51 -05:00
Justin Schroeder
3b7f03388b Adds a hydrate command on mounted too 2018-02-01 13:15:41 -05:00
Justin Schroeder
1ecf7411f6 Removes submit buttons from values 2018-02-01 12:23:39 -05:00
Justin Schroeder
b33e3692b0 Fixes bug where deeply nestsed formulate-elements would not properly register with parent formulate component 2018-02-01 12:14:19 -05:00
Justin Schroeder
e962aaec62 Fixes blur behavior validation bug that failed to expose all validation errors on submission 2018-02-01 11:02:58 -05:00
Justin Schroeder
ab1330f27f Validation labels are no longer part of the validation rule string, but retrieved from props on formualte-element 2018-02-01 10:47:11 -05:00
Justin Schroeder
4af94f068a Automatically adds namespacing to formulateModule, more documentation added 2018-01-31 21:52:10 -05:00
Justin Schroeder
9011888971 Initial stable build of vue-formulate 2018-01-31 17:20:29 -05:00
Justin Schroeder
a705eced91 Initial stable functionality 2018-01-30 17:21:21 -05:00