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

20 Commits

Author SHA1 Message Date
Justin Schroeder
486e477ebb
Adds support for validation and error-visibility events
* 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>
2020-03-24 23:44:19 -04:00
Justin Schroeder
57ac45be20 Adds title to filenames and better long-filename styling 2020-03-09 11:03:33 -04:00
Justin Schroeder
adf8299a33
Feature/form errors (#13)
* 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>
2020-03-06 16:10:25 -05:00
Justin Schroeder
c7f26c0929 v2.1.1 2020-03-02 14:01:38 -05:00
Justin Schroeder
c6eae3493b Fixes issues with upload field re-hydration and requried validation rule for FileUpload fields. 2020-03-02 00:35:56 -05:00
Justin Schroeder
9775e14770 Cleans up dependencies and bundles requirements in browser minified version 2020-02-28 10:46:08 -05:00
Justin Schroeder
c0ffcab79f Adds support for plugin architecture 2020-02-27 14:47:24 -05:00
Justin Schroeder
c31e896b86 Includes support for slider values, custom validation rules and messages 2020-02-27 01:18:51 -05:00
Justin Schroeder
839f0936ed Fixes form submissions, and a bug that prevented value props from populating forms 2020-02-26 00:21:10 -05:00
Justin Schroeder
d7e3859951 Adds support for validation rules that are aware of other form elements 2020-02-25 17:32:40 -05:00
Justin Schroeder
5c00230bc7 Fixes issue related to: https://github.com/vuejs/vue/issues/11058 2020-01-28 16:53:13 -05:00
Justin Schroeder
4a53d17fc7 Adds support for buttons 2020-01-28 12:12:08 -05:00
Justin Schroeder
d868555be8 Adds support for simple image previews on image uploads 2019-11-21 00:29:28 -05:00
Justin Schroeder
dd74fcb12e Fixes stray drag/drop on missed dropzones, allows removing of non uploaded files 2019-11-19 07:15:13 -05:00
Justin Schroeder
2d1c58f725 Adds faux uploader method and initial upload styling 2019-11-15 14:44:01 -05:00
Justin Schroeder
cb9349a6cf Adds new date format capability and associated tests 2019-11-14 01:00:56 -05:00
Justin Schroeder
e952e46aad Adds initial validation rules and support 2019-11-07 17:03:34 -05:00
Justin Schroeder
a53edaa342 Initial tests written for validation parsing and rules 2019-11-06 17:17:19 -05:00
Justin Schroeder
dbb41471e5 Updates vue formulate with updated build 2019-11-01 14:03:48 -04:00
Justin Schroeder
27bd2bda26 Initial commit of the version 2 rewrite 2019-10-07 10:24:30 -04:00