Commit graph

76 commits

Author SHA1 Message Date
xavcz
52c50933e7 repair deepValue utils (error introduced by "errors linting" fix) 2016-11-15 10:17:27 +01:00
xavcz
4ae1c01eec complete eslint devDeps and fix lint errors 2016-11-15 09:02:30 +01:00
Xavier Cazalot
4717100099 Merge pull request #1507 from sherryxiao1988/patch-1
Fix react setState race condition
2016-11-11 10:52:02 +01:00
Shundan Xiao
7a4c540d06 Fix react setState race condition
when multiple components need to call addToAutoFilledValues (I am using the avatar(xavcz:nova-forms-upload) plugn along with the subscription package), this state is concurrently called by multiple components when they are rendered. autofilledValues sometimes only holds the last value.
2016-11-11 17:39:39 +08:00
Sacha Greif
bbfb857c23 make document prop available to all form components (but don't pass it down to standard input controls to avoid error) 2016-10-26 15:20:32 +09:00
xavcz
01429c9f5b backward compatibility for the autoform field on schema definition 2016-10-14 11:55:47 +02:00
xavcz
67d4ff5fc8 updates from devel: Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into cleaning-oldies 2016-10-14 11:25:59 +02:00
xavcz
e0d9775c87 fix conflict with shortcut update from devel 2016-10-14 11:23:12 +02:00
xavcz
b04cb52470 currentUser is now only given via context, update README about it, add a missing import 2016-10-14 08:47:18 +02:00
huli
325abdc850 Add shortcut to submit form, close #1471 2016-10-13 21:57:19 +08:00
xavcz
8bf496f7e5 fix errors on nova:forms
-> NovaForm: don't call callbacks of unmounted component (ex: ModalTrigger)
-> FormComponent - call updateCurrentValue only if the component is rendered
2016-10-05 11:19:20 +02:00
xavcz
7775838980 change old reference to AutoForm (legacy): field schema "autoform" -> "form" 2016-10-05 08:43:13 +02:00
xavcz
3687eea92f fix #1449 2016-09-27 07:30:58 +02:00
xavcz
7c7c6fd2e5 v0.27.1 (+update .meteor/versions, +fix syntax) 2016-09-22 08:11:38 +02:00
xavcz
4ebf704760 add implementation of defaultValue after prefilledValue (see #1443) 2016-09-21 14:42:05 +02:00
xavcz
cbd9141e78 update react (15.3.1) and associated packages, fix warnings "unknown prop" 2016-09-07 14:35:49 +02:00
xavcz
58148ae599 fix #1423 2016-08-09 07:57:12 +02:00
xavcz
830d6015ad small fix on default props value not taken in consideration 2016-08-05 18:26:55 +02:00
xavcz
5e6c553284 NovaForm custom components with boolean value: fix a bug on account edit + newsletter setting using autofilledValues 2016-07-31 14:14:51 +02:00
xavizalote
91cc0e3f1b make document available on nova:form's custom control 2016-07-21 00:37:06 +02:00
xavizalote
eb50a2b3a3 datetime picker: when an edit form is submitted, the datetime value is not reset if already defined (bug fix post.postedAt on post edit) 2016-07-07 12:48:35 +02:00
xavizalote
e3479d216f generic datetime picker component for nova:forms working on new & edit post 2016-07-06 15:53:14 +02:00
Sacha Greif
c28910f80f small NovaForms improvements 2016-07-04 10:32:00 +09:00
Sacha Greif
45b1a8cc7d use elementOnly for thumbnail URL; add support for beforeComponent and afterComponent to NovaForms; handle empty URLs in getDomain; add enableNewsletterInDev setting; add more logging to newsletter cron job; make newsletter time GMT; campaign -> newsletter; add missing imports; add spanish translation to README 2016-06-28 17:33:30 +09:00
sweetppro
e3e96a0486 added order support for custom fields 2016-06-22 10:16:07 +02:00
Sacha Greif
86d7c76395 fix Flash issue 2016-06-19 12:57:23 +09:00
Sacha Greif
c87929f5dd make submitData callback do something (see #1355) 2016-06-17 13:05:17 +09:00
Sacha Greif
b4d0a8366f small tweaks to nova:forms 2016-06-14 16:36:05 +09:00
Sacha Greif
2b64fd56da remove dependency on Telescope flash messages from NovaForms 2016-06-14 10:45:03 +09:00
Sacha Greif
471f74adf7 make nova:forms accept schemas as well as collections 2016-06-13 16:05:46 +09:00
Sacha Greif
924330c12b indentation fix 2016-06-13 11:11:20 +09:00
Sacha Greif
d812eacddf i18n error messages 2016-06-10 10:43:23 +09:00
Sacha Greif
2c6e3d0d30 more i18n work 2016-06-10 10:25:38 +09:00
Sacha Greif
f899713408 more work on i18n 2016-06-09 20:26:33 +09:00
Sacha Greif
c1572344ba working on i18n 2016-06-09 17:42:20 +09:00
Sacha Greif
5ee570299a replacing packages with their npm equivalents 2016-06-07 15:03:00 +09:00
Sacha Greif
204fa1d8b7 added support for field groups; small tweaks to user edit form 2016-06-03 11:03:36 +09:00
Sacha Greif
5c08e3d485 prefilledValues->autofilledValues (to avoid confusion); make sure we clone objects to avoid contamination; this.input -> this.formControl 2016-05-12 11:46:30 +09:00
Sacha Greif
36a81acf8c improve handling of private settings 2016-04-21 15:09:03 +09:00
Sacha Greif
312a7b4f9e various small tweaks 2016-04-21 15:08:43 +09:00
Sacha Greif
31959ae287 update formsy and get rid of warnings (yay!) 2016-04-20 09:23:11 +09:00
Sacha Greif
0907733208 more work on consistent naming 2016-04-19 15:54:53 +09:00
Sacha Greif
5c8fbf6d89 working on datetimepicker 2016-04-18 10:03:53 +09:00
Sacha Greif
2954fe0bb7 small tweaks 2016-04-17 16:49:31 +09:00
Sacha Greif
ece616be1e update state on blur, not on change (better for performance? doesn't really seem to make a difference) 2016-04-17 16:47:04 +09:00
Sacha Greif
9eac9bf800 fixing a couple things 2016-04-17 10:48:02 +09:00
Sacha Greif
60f29bbfd1 simplify UserProfileCheck logic 2016-04-17 10:29:52 +09:00
xavizalote
d878b8466e get rid of dom warning (nova:forms) 2016-04-16 18:01:37 +02:00
xavizalote
5c424dabf5 add a fields property to filter on them 2016-04-16 16:20:18 +02:00
xavizalote
c2d1a1ab99 Merge remote-tracking branch 'TelescopeJS/devel' into completed-profile-hook 2016-04-15 15:16:15 +02:00