Commit graph

25 commits

Author SHA1 Message Date
Apollinaire
7f8c76c877 prettier 2019-02-07 18:02:43 +01:00
Apollinaire
ef83562ee6 Fix SmartForm tests 2019-02-07 18:01:42 +01:00
SachaG
3e1571e1e8 Fix ESLint unused variables 2018-12-31 15:26:22 +09:00
SachaG
111e00ecae Fix semicolons and other linting issues 2018-12-31 15:22:17 +09:00
Eric Burel
5818df05a1
Merge branch 'devel' into feature/smart-form-reset 2018-12-15 17:33:19 +01:00
eric-burel
38ce8ef886 expose mergeWithComponents 2018-11-29 14:24:18 +01:00
eric-burel
c8299cffed refactored test initialization with a new package 2018-11-29 14:24:17 +01:00
eric-burel
047181992e props update trigger a reset only in relevant cases 2018-11-26 15:03:56 +01:00
eric-burel
463b954be2 added test for prop state change 2018-11-26 14:52:35 +01:00
eric-burel
fde4d90924 add bootstrap-ui to allow form mounting 2018-11-26 11:06:01 +01:00
Eric Burel
08b9cf5c5e updated tests, reuse utils for Form and FormWrapper 2018-10-29 22:34:29 +01:00
Eric Burel
284cdbae18 start splitting code, reuse options handler 2018-10-29 22:08:41 +01:00
Eric Burel
44bc79552a skipped some tests 2018-10-29 08:50:51 +01:00
Eric Burel
3cacbc8cb7 form components layout are now replaceable 2018-10-29 08:50:51 +01:00
Eric Burel
154b511a5c fix intl message, add tests 2018-10-25 10:23:00 +02:00
Eric Burel
295a6482b1 started to write a test for array items 2018-10-23 17:32:05 +02:00
Eric Burel
d13d0a05b4 cleanup tests 2018-10-23 17:00:00 +02:00
SachaG
5fc0e30f40 Fix ESLint 2018-09-12 11:59:00 +09:00
Eric Burel
e79b8a524f updated schema_utils and FormComponent to correctly detect nested objects 2018-07-27 17:27:44 +02:00
Eric Burel
b5e54ead17 Splitted FormNested between objects an arrays
Nested form is much simpler for objects than for arrays.
2018-07-26 17:25:33 +02:00
Eric Burel
25db5c04b8 load Components correctly in tests
Now `vulcan:ui-bootstrap` is explicitely loaded in the `vulcan:forms`
package. This avoid undefined `Components.Button` if the use did not
load a specific styling package
2018-07-26 16:39:40 +02:00
Eric Burel
d21dd5fcfa wrote passing tests and a failing test for nested objects 2018-07-25 18:03:43 +02:00
Eric Burel
56eb3ab4b6 fixed nested form generation
Schema must be passed explicitely to the field retrieval methods
(otherwise the main schema will be used instead of the nested schemas)
2018-07-24 20:33:43 +02:00
Eric Burel
4d6e87cbca pass the nested schema to the field retrieval methods 2018-07-24 18:29:27 +02:00
Eric Burel
474456148e setup tests 2018-07-24 18:13:34 +02:00