Commit Graph

92 Commits

Author SHA1 Message Date
Christian Alfoni 4279dd59a2 Merge pull request #153 from garbin/master
* Fixed mapModel issue when input name is nested
2015-07-06 11:57:13 +02:00
Garbin Huang 958bd98223 * Fixed mapModel issue when input name is nested 2015-07-01 12:36:45 +08:00
Semigradsky c37c053a66 Made passing all props, except `onSubmit` 2015-06-23 12:54:57 +03:00
Semigradsky 0395f61233 Changed validation behaviour 2015-06-03 13:10:02 +03:00
christianalfoni d7e7dfc55e Reverted passing of all props, only added autoComplete 2015-05-22 16:20:34 +02:00
christianalfoni a1cf2236df Prepared new release 2015-05-22 14:46:45 +02:00
christianalfoni dbb0653a2b Merge branch 'master' of https://github.com/christianalfoni/formsy-react 2015-05-22 13:21:06 +02:00
christianalfoni 23f91c4373 Pull request for isChanged 2015-05-22 13:21:03 +02:00
Tomas Holas 2ef73a2ec2 Merge remote-tracking branch 'upstream/master' 2015-05-16 13:10:16 +02:00
Alex Vaos 5b2ca883f3 typeo in error message 2015-05-15 10:59:16 -07:00
Semigradsky 49d7d39005 💄 cleanup 2015-05-11 13:48:22 +03:00
Evan Seguin 5ae260820e adding tests and fixing a bug where an error would be thrown when comparing an object and null 2015-05-08 09:28:58 -07:00
Evan Seguin effa9de53f Adding type checks to prevent errors resulting from assuming two object properties are of the same
type
2015-05-07 11:49:41 -07:00
Evan Seguin d225fa3d2b adding an undefined check to the isSame function 2015-05-07 11:34:16 -07:00
Tomáš Holas 9ab0acff82 Allow form to be initialised with specified data
Modify reset function so that it accepts argument with data model that the form should be initialised with. This comes handy when you want to edit an object to have the form prefilled with object data by just passing the object to reset function instead of filling the fields manualy.
2015-05-04 22:22:05 +02:00
Semigradsky f168b53a10 Add some validation rules 2015-04-29 16:35:53 +03:00
christianalfoni 37018b10fa Merged pull, fixed equality bug and added tests 2015-04-29 14:57:51 +02:00
Semigradsky 9a7bff0e03 Removed 'required' check from validations 2015-04-27 12:29:23 +03:00
christianalfoni 9b2d9598e8 added pull request and created tests and documentation 2015-04-25 12:20:39 +02:00
christianalfoni accc0815db Merge branch 'master' of https://github.com/christianalfoni/formsy-react 2015-04-25 12:14:26 +02:00
christianalfoni 8acaeadaee Fixed value bug and configured deploy new version script 2015-04-25 12:14:15 +02:00
Erwan Jegouzo 355c0bbee3 don't validate the inputs when the form was not submitted
adding resetForm method
2015-04-22 23:14:24 -04:00
Semigradsky b18b4e8c79 Clean up 2015-04-22 19:06:53 +03:00
christianalfoni f64d2443b9 releasing 0.12.6 2015-04-22 16:54:46 +02:00
christianalfoni 33ae737868 Merge branch 'master' of https://github.com/christianalfoni/formsy-react 2015-04-22 16:37:28 +02:00
christianalfoni d8cd404412 Fixed validation rule value 2015-04-22 16:37:25 +02:00
Erwan Jegouzo 8f4e2566d5 improving validation rules + unit tests 2015-04-21 16:43:14 -04:00
christianalfoni 4267c40f3b Fixed validation errors using callback 2015-04-17 19:36:28 +02:00
christianalfoni aaac6d0618 Fixed bug with comparing validations. Removed dynamic validations 2015-04-16 17:19:01 +02:00
christianalfoni 1475dbb88b Fixed required bug 2015-04-15 20:12:40 +02:00
christianalfoni d0af1375a2 Fixed callbacks for onInvalidSubmit and onValidSubmit 2015-04-15 07:28:39 +02:00
christianalfoni 1fb4461121 Removed noValidate and added formNoValidate to readme 2015-04-14 21:31:41 +02:00
christianalfoni 54a857638a Release 0.12.0 2015-04-14 19:01:59 +02:00
Gabriel Neutzling a0bab16ca3 fixed equalsField validation rule. 2015-04-14 00:36:17 -03:00
christianalfoni 617cc21ee5 updated readme 2015-04-13 19:40:08 +02:00
christianalfoni 8b42fd254a Added string returns error for rules 2015-04-13 19:15:10 +02:00
christianalfoni c5bbc06178 Added missing pull 2015-04-13 18:43:22 +02:00
christianalfoni b0738a5032 Added validation objects and required validation 2015-04-13 18:29:23 +02:00
christianalfoni 5e00ea281f Passing invalidate on onValidSubmit and onInvalidSubmit 2015-04-13 18:29:22 +02:00
christianalfoni ad83a10894 Fixed bugs with isValidValue and isValidForm 2015-04-07 07:24:19 +02:00
christianalfoni 0964b07e1d Fixed validation bug 2015-04-03 13:20:17 +02:00
christianalfoni 8cbd6e19ff added internal validation 2015-04-01 13:59:52 +02:00
christianalfoni ebd17fde62 Fixed bug with internal ajax 2015-04-01 13:49:38 +02:00
Christian Alfoni eb3eaa6544 Merge pull request #63 from philippotto/checkValidity
Allow a component to decide whether it is valid (fixes #60)
2015-04-01 13:43:18 +02:00
christianalfoni dca9f78524 Handle any value with tests 2015-03-28 23:12:23 +01:00
Christian Alfoni 703e879f75 Merge pull request #49 from sdemjanenko/fix_initial_false_value
Fix bug: Allow value === false to be passed
2015-03-28 23:10:23 +01:00
Philipp Otto 0d34e7b5bb Allow a component to decide whether it is valid (fixes #60) 2015-03-23 00:16:05 +01:00
Christian Alfoni 36d9741535 Merge pull request #61 from michaelcontento/patch-1
Fix global variable leak
2015-03-20 10:53:20 +01:00
Michael Contento 879b19f2cd Fix global variable leak 2015-03-18 08:10:32 +01:00
Vladimir Kuznetsov 6fcc9391c7 Suppress error in non-browser environments 2015-03-17 11:44:03 +05:00