Commit graph

86 commits

Author SHA1 Message Date
Sebastian Grebe
0799976f77
Form loading state fix
In some cases it seems that the loading property is set to true altough the document is already there.
2018-01-11 12:38:55 +01:00
SachaG
a72250d8ce v1.8.3 2018-01-11 13:52:09 +09:00
SachaG
1eba12a8fa Disable polling in withDocument when used through FormWrapper 2018-01-11 09:07:56 +09:00
Luca Hagel
97116235fa Clear FormWrapper warnings, remove shouldCompUpdate & make it PureFunction 2018-01-06 08:38:14 +01:00
Luca Hagel
98b4b92bcd Make FormWrapper a stadnard component so shouldComponentUpdate actually gets called 2018-01-06 07:50:00 +01:00
SachaG
79958ea18f Fix extraQueries check 2018-01-04 08:58:50 +09:00
SachaG
a6ee63bbed Handle extra queries in New Document forms as well (since they don't have withDocument HoC) 2018-01-03 22:03:50 +09:00
SachaG
a248d60ee0 Only populate checkboxes following default values for New Document forms 2018-01-03 22:03:20 +09:00
SachaG
9ea2ce7b88 Merge branch 'master' into devel 2018-01-03 08:48:27 +09:00
SachaG
8d0cc3e5e2 Make form sub-property optional; Handle extra queries in FormWrapper; remove resolveAs fragment shape "guessing" code 2017-12-28 11:31:55 +09:00
SachaG
ac5d92d89c 1.8.2 2017-12-28 10:11:44 +09:00
SachaG
aad9dc9222 Revert change to form fragments when field has a resolver and contains an array 2017-12-28 09:58:18 +09:00
SachaG
fc3a5d58b1 v1.8.1 2017-12-27 09:56:49 +09:00
SachaG
0fb118b534 Pass on error data to flash component to help with #1787 2017-12-20 09:43:42 +09:00
SachaG
0cbb904f2d Set enableCache when defining HoC rather than when defining resolvers for more granularity 2017-12-13 18:39:19 +09:00
Sacha Greif
60c563f15e
Merge pull request #1772 from ErikDakoda/erikdakoda
Changes to support vulcan-material-ui
2017-11-14 11:43:30 +09:00
SachaG
1a33e91554 Fix time component 2017-11-14 10:49:13 +09:00
Erik Schannen
e9acedd00a - Pass all properties of fieldSchema.form on to the form component
- Restore missing delete link
2017-11-10 15:35:01 -05:00
SachaG
41b585adfa Move form's wrapped component instantiation to constructor 2017-11-09 10:01:51 +09:00
SachaG
9e959b96c6 Add repeatErrors prop to Forms 2017-11-09 10:01:22 +09:00
Sacha Greif
f9ccef64ca Add new Time component; add new 'default' form schema option 2017-11-03 11:40:53 +09:00
Sacha Greif
33296c1421 Add fetchPolicy and propertyName options to withList and withDocument 2017-11-01 15:37:57 +09:00
Sacha Greif
4e259ec117 Finish work on form field clearing feature 2017-10-20 10:08:56 +09:00
Sacha Greif
df2db270e5 Fix default checked values for when options is a function 2017-10-20 10:08:09 +09:00
Sacha Greif
1f312c5fe6 Enable checking checkboxes by default by setting checked = true in options 2017-10-19 12:36:18 +09:00
Sacha Greif
2139bc63f3 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2017-10-18 20:07:46 +09:00
Sacha Greif
a5f9d64a2e Working on form clearing 2017-10-18 20:07:43 +09:00
Erik Schannen
88da22952d Abstract out bootstrap-specific components in vulcan:forms and register
them using registerComponent so that they can be overridden by other gui
frameworks like material-ui.
2017-10-17 09:35:41 -04:00
SachaG
0348f93c7b Improve how "hidden" form option works 2017-10-01 11:49:19 +09:00
SachaG
0ca8d2dc30 Version 1.8.0 2017-09-29 15:04:28 +09:00
SachaG
6a9f53e82b Update to Meteor 1.5.2.1 2017-09-29 09:19:23 +09:00
SachaG
3a0692cc4a Fix form components ref 2017-09-16 22:26:52 +02:00
Sacha Greif
094a51a26e Merge pull request #1722 from Discordius/formSubmit-PR
Added submit option to `updateCurrentValues` in Form.jsx context
2017-09-11 16:01:06 +02:00
Discordius
7603be5d2e Added submitForm() to context for Form components 2017-09-08 22:52:54 -07:00
SachaG
d9ed258b7b Give proper cursor to delete link 2017-09-06 18:12:02 +02:00
SachaG
1258619ef0 Fix handling of GraphQL schema-level validation errors in forms. Note: GraphQL errors currently happen before server-side validation errors, instead of happening at the same time. 2017-09-06 18:10:26 +02:00
SachaG
0e836c7cc4 more forms clean-up 2017-08-19 16:17:52 +09:00
SachaG
a5d88880fa Reorganize forms package; individual forms component can now be overridden with replaceComponent 2017-08-19 10:41:08 +09:00
SachaG
05520088da split out validation code in its own file 2017-08-17 10:48:20 +09:00
SachaG
3387745805 form fixes 2017-08-16 16:24:50 +09:00
SachaG
985c509aca Improve form error handling; fields now show relevant validation errors 2017-08-16 16:18:40 +09:00
SachaG
e183f67487 context.autofilledValues -> context.getAutofilledValues 2017-08-05 15:01:13 +09:00
SachaG
2cf193af1e Improve image upload form styling; pass context to parameters callback 2017-08-05 14:46:02 +09:00
SachaG
f82531e6e7 version 1.7.0 2017-08-02 19:02:18 +09:00
SachaG
5a0d0bd4c5 version 1.6.1 2017-08-01 14:20:56 +09:00
SachaG
b251d0704a improve generated form fragments 2017-07-26 07:26:57 +09:00
SachaG
8703a7c303 include user edit modal inside admin package; fix default avatar; admins can now perform every action; include form styles in form package; small form fixes 2017-07-19 16:55:51 +09:00
SachaG
6151b800b8 v1.6.0 2017-07-14 10:53:52 +09:00
SachaG
3974471e67 Use apollo-errors package for form errors 2017-07-07 10:21:15 +09:00
Discordius
5d9ba69292 Added failure form callbacks and success form callbacks 2017-07-06 13:31:37 -07:00