Christian Alfoni
9e430bbf83
Fixed bug with empty validations
2015-01-14 10:32:31 +01:00
Christian Alfoni
e9743a2df1
Cross input validation, invalidateForm and bug fix
2015-01-14 10:15:49 +01:00
Christian Alfoni
915ddb8cee
Fixed required and no validations bug
2015-01-07 11:06:01 +01:00
Christian Alfoni
b04c989cf6
Release 0.4.0
2015-01-07 07:28:15 +01:00
Christian Alfoni
dc6ac20285
Merge pull request #6 from LaustAxelsen/patch-2
...
words, spaces and special letters.
2015-01-07 07:09:18 +01:00
LaustAxelsen
0b0e0a1b49
Update main.js
...
Include two new basic rules;
- isWords (a-z, not case sensitive and spaces e.g. "this is a pretty cat")
- isWordsSpecial (a-z, special european letters, not case sensitive and spaces e.g. "sikke en flot ø" or "touché")
2015-01-06 22:24:54 +01:00
LaustAxelsen
2289290998
Update main.js
...
Added a resetModel method which is also passed to the onSubmit callback.
2015-01-06 22:08:44 +01:00
LaustAxelsen
51bce0315b
Update main.js
...
I wanted to use formsy-react without posting or putting to a specific URL, but instead handle this internally in my single-page-application. So if no url is defined use the "onSubmit" callback with the valid model e.g. {fieldName: "myValue"}.
2015-01-06 21:53:46 +01:00
Christian Alfoni
df4e84a10a
Added new handlers
2015-01-05 15:03:01 +01:00
Christian Alfoni
20f1d71f96
Fixed props check
2014-11-17 11:53:52 +01:00
Christian Alfoni
874fe8f716
Fixed updating of props bug
2014-10-29 16:10:04 +01:00
Christian Alfoni
5bdfc8235d
onCancel handler toggles showing of cancel button
2014-10-28 15:20:51 +01:00
Christian Alfoni
014f7add09
Added hasValue() method
2014-10-28 12:56:35 +01:00
Christian Alfoni
2f20ec13e4
Fixed resetValue bug
2014-10-28 11:47:29 +01:00
Christian Alfoni
822892314c
Fixed isValue check
2014-10-28 11:43:08 +01:00
Christian Alfoni
2e501f4f4f
Fixed showRequired and added resetValue method
2014-10-28 11:26:30 +01:00
Christian Alfoni
6727636536
Initial commit
2014-10-22 14:51:26 +02:00