Commit graph

76 commits

Author SHA1 Message Date
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
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
SachaG
6a927c444f do not override existing content fields when prefilling 2017-06-28 08:50:51 +09:00
SachaG
f984b814f6 Use url type for url field 2017-06-22 16:42:29 +09:00
SachaG
9b0b9698a1 fix to avoid duplicate posts 2017-06-22 16:41:56 +09:00
SachaG
4ad845440c clean up; remove flatten call from Form.jsx; make it possible to specify id:null to not sort by id 2017-06-20 10:25:34 +09:00
SachaG
55bb30bce9 Add fragment initialization step; get rid of duplicate fragments warning; Note: Vulcan HoCs cannot be used outside of registerComponent anymore 2017-06-19 10:19:05 +09:00
SachaG
c4b2691d43 version 1.5.0 2017-06-11 19:39:57 -07:00
SachaG
f26d0d0915 Make form groups expandable 2017-06-11 18:50:19 -07:00
SachaG
ad5c2818c0 Add new limit custom property to show character count in form fields 2017-06-07 17:59:02 -07:00
SachaG
56129faa78 various small fixes 2017-06-06 17:22:17 -07:00
SachaG
7bf856fd1e merge terms from 3 sources in withList; permission check in PostsEditForm; do not default to current date in DateTime component; email subject accepts string; show email properties in debug preview; add async callbacks to charge hook 2017-06-04 13:56:40 +09:00