Commit graph

318 commits

Author SHA1 Message Date
SachaG
6f6eefae26 Use dot-object and deepmerge to let forms handle multiple nesting levels 2018-03-23 08:51:24 +09:00
SachaG
268090dcb2 Working on nested forms support 2018-03-22 19:22:54 +09:00
SachaG
f7da9108f7 Use getFormType(); make user.services object viewable to owner only; clean up Datatable props 2018-03-22 16:54:50 +09:00
SachaG
d2d66a211b Debounce on timeout's leading edge to always include form field value 2018-03-22 16:53:52 +09:00
SachaG
7061483af8 Improve Datatable new/edit buttons; simplify FormWrapper loading check 2018-03-20 14:56:09 +09:00
SachaG
e7b0110e5f Replace FormComponent onBlur handler by debounced onChange; add date component 2018-03-19 11:59:30 +09:00
SachaG
593330370c Make 'hidden' take a function as well as a boolean 2018-03-08 11:30:45 +09:00
SachaG
08016947db Split select form component into select and selectmultiple; Make "--select option--" the default selection for select form components 2018-03-08 11:28:29 +09:00
SachaG
926f155655 v1.8.11 2018-03-05 09:54:26 +09:00
SachaG
d3fdb3ae38 v1.8.10 2018-03-03 15:12:16 +09:00
SachaG
d4910cf2c5 Add clear to time control 2018-03-03 11:09:58 +09:00
SachaG
bb43a16e68 Revert "Pass an extraTerms argument to all extra queries"
This reverts commit ab8fd47d76.
2018-02-18 17:42:12 +09:00
SachaG
ab8fd47d76 Pass an extraTerms argument to all extra queries 2018-02-18 16:56:58 +09:00
SachaG
0d4c243db1 Test on undefined and null to accommodate fields whose value is 0 2018-02-15 12:05:16 +09:00
SachaG
0ff904562c Add description as help prop on forms 2018-02-12 18:48:12 +09:00
SachaG
bcf41190af v1.8.9 2018-02-03 11:48:41 +09:00
SachaG
f00a36cf9a v1.8.8 2018-02-03 11:11:52 +09:00
Sacha Greif
510581154e
Merge pull request #1861 from MHerszak/meteor_1_6_1_packages
packages update to meteor 1.6.1
2018-01-29 16:05:51 +09:00
Michel Herszak
5a17346648 packages update to meteor 1.6.1 2018-01-28 23:03:10 -07:00
Luca Hagel
1ea5eb8e28 Eslint-ignore console statement 2018-01-29 03:50:59 +01:00
SachaG
5da7791afe v1.8.7 2018-01-29 11:32:17 +09:00
Michel Herszak
d80f9b4a72 optionsAsStrings was not defined 2018-01-28 14:20:24 -07:00
SachaG
85e8614aa2 v1.8.6 2018-01-28 11:13:45 +09:00
Justin Reynolds
38b88108b4 Fix React prop warnings for SmartForm 2018-01-27 11:25:48 -06:00
SachaG
13a2453009 Merge branch 'vulcan-updates-jan-2018' of https://github.com/justinr1234/Vulcan into justinr1234-vulcan-updates-jan-2018
# Conflicts:
#	packages/vulcan-forms/lib/components/Form.jsx
#	packages/vulcan-lib/lib/modules/utils.js
2018-01-27 12:30:33 +09:00
Justin Reynolds
919f96a32e Allow SmartForm to use collection or collectionName 2018-01-26 17:41:15 -06:00
Justin Reynolds
75b6ece0a4 Fix linting 2018-01-25 15:03:03 -06:00
Justin Reynolds
5c67e4548e Fix React prop warnings for SmartForm 2018-01-25 13:36:20 -06:00
SachaG
af4c44a2af v1.8.5 2018-01-20 16:51:20 +09:00
SachaG
efd5984f56 Pass parent props to FormWrapper in render instead of componentWillReceiveProps; make Form props updatable through FormWrapper 2018-01-20 13:31:34 +09:00
SachaG
c9936ed69f v1.8.4 2018-01-20 11:07:27 +09:00
SachaG
9169735128 Add queryFragmentName and mutationFragmentName props to FormWrapper; add componentWillReceiveProps to update Form props on FormWrapper props change 2018-01-20 11:01:45 +09:00
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