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

202 Commits

Author SHA1 Message Date
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
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
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>
2020-03-04 13:45:37 -05:00
Andrew Boyd
4bfe43719d
Adds startsWith and endsWith validation rules (#9)
* 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
2020-03-03 06:53:04 -05:00
Justin Schroeder
c7a3e1a015 2.1.1 2020-03-02 14:01:54 -05:00
Justin Schroeder
c7f26c0929 v2.1.1 2020-03-02 14:01:38 -05:00
Justin Schroeder
e13c70fad0 Merge branch 'master' of github.com:wearebraid/vue-formulate 2020-03-02 13:55:06 -05:00
Justin Schroeder
6b21b630c7
Merge pull request #8 from wearebraid/typo-fix
fixes classname typos in snow.css, formulatefiles component, and inpu…
2020-03-02 13:54:41 -05:00
Sasha Milenkovic
bd0af7d6cc fixes classname typos in snow.css, formulatefiles component, and inputs.scss 2020-03-02 13:34:44 -05:00
Justin Schroeder
8731990328 2.1.0 2020-03-02 01:45:06 -05:00
Justin Schroeder
b5edaa9b3c
Merge pull request #7 from wearebraid/v2.1.0
Version 2.1.0
2020-03-02 01:44:41 -05:00
Justin Schroeder
192a2cd93b Fixes #6 2020-03-02 01:34:18 -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
cf9396e0d6 Fixes issue with grouped options hydrating initial values 2020-03-01 22:29:54 -05:00
Justin Schroeder
3fcfa759a9 Patches axios uploader behavior 2020-03-01 13:28:46 -05:00
Justin Schroeder
1806671194 2.0.4 2020-02-29 01:00:19 -05:00
Justin Schroeder
cea58754a3 Production build for version 2.0.4 2020-02-29 00:59:58 -05:00
Justin Schroeder
12326a91fd Adds a new values prop to FormulateForm 2020-02-29 00:50:31 -05:00
Justin Schroeder
0312802e03 Merge branch 'master' of github.com:wearebraid/vue-formulate 2020-02-29 00:19:11 -05:00
Justin Schroeder
433ac5728e Patches form uploads to proper swap server return back into the form data 2020-02-29 00:18:58 -05:00
Justin Schroeder
08d9cd0ff9 Makes rollup not use named exports 2020-02-28 23:30:43 -05:00
Justin Schroeder
875d81503b
Merge pull request #3 from henrikromby/patch-1
Fixes minor typo in readme
2020-02-28 22:45:56 -05:00
Henrik Romby Mikkelsen
f23802a496
Minor typo in readme 2020-02-29 04:40:28 +01:00
Justin Schroeder
c1607abe8e 2.0.3 2020-02-28 16:10:36 -05:00
Justin Schroeder
a4d811e95d taggs 2.0.2 2020-02-28 16:10:19 -05:00
Justin Schroeder
e6927604f6 2.0.3 2020-02-28 16:07:43 -05:00
Justin Schroeder
d73b7d0326 Adds 2.0.2 build assets 2020-02-28 16:04:55 -05:00
Justin Schroeder
5cac3622bb Merge branch 'master' of github.com:wearebraid/vue-formulate 2020-02-28 16:03:13 -05:00
Justin Schroeder
d9af6171bf 2.0.2 2020-02-28 16:02:42 -05:00
Justin Schroeder
a608fe3db2
Merge pull request #1 from wearebraid/bugs/max-validation
Fix default validation rule language for max to be more accurate.
2020-02-28 14:35:09 -05:00
Luan Nguyen
1528d45405 Fix default validation rule language for max to be more accurate.
Correct “max” variable name in max validation rule.
2020-02-28 14:26:14 -05:00
Justin Schroeder
50ff66f86f Improves minified browser build 2020-02-28 11:19:44 -05:00
Justin Schroeder
8576bd0b71 Makes iife build use VueFormulate keyword 2020-02-28 10:56:46 -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
056ed20cbc 2.0.1 2020-02-27 23:53:25 -05:00
Justin Schroeder
0a9fb99950 Small readme badge update 2020-02-27 23:53:09 -05:00
Justin Schroeder
812ab6800a Updates package to version 2.0.0 2020-02-27 23:49:55 -05:00
Justin Schroeder
98d0ad2cd8 Chore: removes .vscode preferences 2020-02-27 23:48:37 -05:00
Justin Schroeder
95e0e1b2f5 Chore: cleanup DS_Store files 2020-02-27 23:47:33 -05:00
Justin Schroeder
89646ac14f Removes old cache directory 2020-02-27 23:46:25 -05:00
Justin Schroeder
6ac21642fa Initial file upload tests 2020-02-27 23:39:44 -05:00
Justin Schroeder
e3c2a5ad08 Updates the readmewith list of features 2020-02-27 22:47:24 -05:00
Justin Schroeder
67be605f7d Updates initial readme file 2020-02-27 22:45:32 -05:00
Justin Schroeder
a232538442 Update license year 2020-02-27 22:36:53 -05:00
Justin Schroeder
5f216807c3 adds a min-height shim to some text inputs that appear collapsed on ios 2020-02-27 22:06:04 -05:00
Justin Schroeder
221d0161f1 Fixes placeholder issue on ios devices 2020-02-27 22:01:05 -05:00
Justin Schroeder
7153e598b4 Fixes logo and badges in documentation 2020-02-27 17:47:15 -05:00
Justin Schroeder
cc50fa41ef Updates the ReadMe with initial content 2020-02-27 17:33:29 -05:00
Justin Schroeder
441ecca076 Updates version to 2.0.0-alpha.4 2020-02-27 14:49:45 -05:00
Justin Schroeder
c0ffcab79f Adds support for plugin architecture 2020-02-27 14:47:24 -05:00