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

10 Commits

Author SHA1 Message Date
Justin Schroeder
2d097fadb4 Adds support for new named form methods 2020-05-15 23:20:29 -04:00
Justin Schroeder
af5e23098d Fixes issue #55, removing form data on deregister 2020-05-14 16:45:29 -04:00
Justin Schroeder
fdcf7b3dbf Updates vue-test-utils to 1.0.2 2020-05-14 16:08:54 -04:00
Justin Schroeder
8e3ca76685 Adds initial grouping tests and first functional, repeatable, modelable grouped fields 2020-05-06 23:33:58 -04:00
Chris
57a349fa3c adding FormulateInput deregister functionality 2020-04-28 12:00:38 -04:00
Justin Schroeder
f7248d029c Adds new registry class 2020-04-22 00:00:02 -04:00
Justin Schroeder
dfef74cd27 Removes all style block tags 2020-04-16 10:21:12 -04:00
Justin Schroeder
ada48ec31f
Fixes #60 and merges #61.
- 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.
2020-04-13 11:59:54 -04:00
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
34de4ba6dc
Adds support for @braid/vue-formulate-i18n
* 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>
2020-03-07 09:03:59 -05:00