Commit graph

14 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
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
Renamed from packages/vulcan-forms/lib/Form.jsx (Browse further)