Commit graph

38 commits

Author SHA1 Message Date
ochicf
d3cd373606 merge value only when is array or object and is an accepted type 2018-05-09 15:59:59 +02:00
SachaG
dd0ff54f9a Disable FormComponent shouldComponentUpdate callback for now 2018-05-02 18:14:15 +09:00
SachaG
94fc8fffe9 Only rerender FormComponent when necessary 2018-04-30 09:36:42 +09:00
SachaG
7b1c66cb43 Factor out error handling code; clean up form props; pass currentUser down to FormComponent 2018-04-28 10:54:03 +09:00
SachaG
45d508ca89 control -> input; forn -> inputProperties 2018-04-14 18:09:35 +09:00
SachaG
bef525eea8 Improve upload error handling; add clearFieldErrors; 2018-04-14 17:21:10 +09:00
SachaG
cc97d1a473 Improve form error handling; fix control css class 2018-04-09 13:10:42 +09:00
SachaG
7c33b37004 Clean up form props/context 2018-04-06 17:56:25 +09:00
SachaG
6735f9aaf3 Improve errors & validation; improve getValue; get rid of autoValue 2018-03-29 11:58:24 +09:00
SachaG
7f67f21eb9 handle arrays better when merging 2018-03-28 16:31:58 +09:00
SachaG
325cf4b140 Handle deleted values better 2018-03-28 11:51:18 +09:00
SachaG
759899212f Remove __typename from datatable; fix select options 2018-03-28 11:20:41 +09:00
SachaG
ce7e0b0b25 Get errors through props instead of context 2018-03-28 11:14:15 +09:00
SachaG
ceabbc1314 Get current value through props instead of through context 2018-03-27 10:45:17 +09:00
SachaG
97c26e23c8 More small fixes 2018-03-26 18:00:26 +09:00
SachaG
5675b50fb5 Cleaning up FormComponent props 2018-03-26 17:50:03 +09:00
SachaG
5bfa885de5 More refactoring 2018-03-26 14:27:45 +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
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
d2d66a211b Debounce on timeout's leading edge to always include form field value 2018-03-22 16:53:52 +09:00
SachaG
e7b0110e5f Replace FormComponent onBlur handler by debounced onChange; add date component 2018-03-19 11:59:30 +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
d4910cf2c5 Add clear to time control 2018-03-03 11:09:58 +09:00
Luca Hagel
1ea5eb8e28 Eslint-ignore console statement 2018-01-29 03:50:59 +01:00
Michel Herszak
d80f9b4a72 optionsAsStrings was not defined 2018-01-28 14:20:24 -07:00
Justin Reynolds
38b88108b4 Fix React prop warnings for SmartForm 2018-01-27 11:25:48 -06:00
Sacha Greif
f9ccef64ca Add new Time component; add new 'default' form schema option 2017-11-03 11:40:53 +09:00
Sacha Greif
4e259ec117 Finish work on form field clearing feature 2017-10-20 10:08:56 +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
3a0692cc4a Fix form components ref 2017-09-16 22:26:52 +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
Renamed from packages/vulcan-forms/lib/FormComponent.jsx (Browse further)