SachaG
|
cc97d1a473
|
Improve form error handling; fix control css class
|
2018-04-09 13:10:42 +09:00 |
|
SachaG
|
9b3b545219
|
Avoid error when no arguments are passed
|
2018-04-07 11:53:40 +09:00 |
|
SachaG
|
8073af7d11
|
Add option to keep/exclude hidden fields
|
2018-04-07 10:09:38 +09:00 |
|
SachaG
|
7c33b37004
|
Clean up form props/context
|
2018-04-06 17:56:25 +09:00 |
|
Apollinaire
|
6e39058e51
|
use this.getCollection() instead of props.collection
|
2018-03-29 12:15:21 +02:00 |
|
SachaG
|
6735f9aaf3
|
Improve errors & validation; improve getValue; get rid of autoValue
|
2018-03-29 11:58:24 +09:00 |
|
SachaG
|
325cf4b140
|
Handle deleted values better
|
2018-03-28 11:51:18 +09:00 |
|
SachaG
|
9aa06cee82
|
Fix date components and new doc validation
|
2018-03-28 11:14:36 +09:00 |
|
SachaG
|
ceabbc1314
|
Get current value through props instead of through context
|
2018-03-27 10:45:17 +09:00 |
|
SachaG
|
5675b50fb5
|
Cleaning up FormComponent props
|
2018-03-26 17:50:03 +09:00 |
|
SachaG
|
9d5963da12
|
Lodash's merge mutates its first argument
|
2018-03-26 16:24:01 +09:00 |
|
SachaG
|
667f43bd5b
|
Fix a few issues
|
2018-03-26 14:49:05 +09:00 |
|
SachaG
|
5bfa885de5
|
More refactoring
|
2018-03-26 14:27:45 +09:00 |
|
SachaG
|
d1a674d36e
|
Convert SimpleSchema schema to JSON object before using it in Form.jsx
|
2018-03-26 11:51:08 +09:00 |
|
SachaG
|
754bb14889
|
Values are now fetched from FormComponent through context instead of being passed as props
|
2018-03-25 12:13:30 +09:00 |
|
SachaG
|
1d7cef5556
|
Work on form errors & validation
|
2018-03-25 10:54:45 +09:00 |
|
SachaG
|
8d686ae9e1
|
Formatting and re-organizing
|
2018-03-24 11:33:28 +09:00 |
|
SachaG
|
dcf1252f2f
|
Use arrow functions and get rid of bindings
|
2018-03-24 11:21:39 +09:00 |
|
SachaG
|
4c99bc2a6d
|
Use lodash set/unset
|
2018-03-24 11:16:11 +09:00 |
|
SachaG
|
a7bd9fd92a
|
Handle form submission with new getData() method
|
2018-03-23 15:46:31 +09:00 |
|
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
|
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
|
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
|
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 |
|
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
|
a248d60ee0
|
Only populate checkboxes following default values for New Document forms
|
2018-01-03 22:03:20 +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
|
0fb118b534
|
Pass on error data to flash component to help with #1787
|
2017-12-20 09:43:42 +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
|
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
|
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 |
|
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 |
|
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
|
a5d88880fa
|
Reorganize forms package; individual forms component can now be overridden with replaceComponent
|
2017-08-19 10:41:08 +09:00 |
|