adam.dymowski
2a384f40a6
Fix: Form.validationErrors disables input validation #239
2015-10-19 16:19:03 +02:00
Mayank Agarwal
6f2a21e3ef
fix extending props in HOC.
2015-10-06 11:25:59 +05:30
Christian Alfoni
2846f0fadd
Refactored tests and made React 0.14 friendly
2015-10-04 17:40:58 +02:00
Christian Alfoni
404f696bfb
Merge pull request #211 from LestaD/patch-1
...
Add display name
2015-10-02 14:55:41 +02:00
Christian Alfoni
0c5e927f8b
Merge pull request #205 from christianalfoni/isAlphanumeric
...
Added new validation rules: `isAlphanumeric`, `isInt`, `isFloat`
2015-10-02 14:42:46 +02:00
Sergey Sova
32aac21a4e
Add display name
2015-09-18 15:01:07 +03:00
Semigradsky
a96f5246e7
Added new validation rules: `isAlphanumeric`, `isInt`, `isFloat`
2015-09-11 11:02:35 +03:00
Ryan Blakeley
6b521d35e7
removed obsolete method call, fix #196
2015-09-04 10:35:47 -06:00
Ryan Blakeley
c311e144fb
fix #196
2015-09-04 10:27:14 -06:00
Bret Little
882eaa1801
Pass through props inside the decorator
...
This allows custom properties on inputs. Example:
<Input label="What is your first name?" name='firstName' required/>
The property label is now available within a custom input:
export default class Input extends React.Component {
render() {
return (
<div className="form-group">
<label>{this.props.label}</label>
<input type="text" className="form-control"/>
</div>
)
}
}
2015-09-01 18:00:06 -06:00
David Blurton
c0fa87f5cb
Merge branch 'master' into react-0.14
...
Conflicts:
package.json
2015-08-31 13:01:27 +00:00
christianalfoni
619a85657f
Merge branch 'react-0.14' of https://github.com/christianalfoni/formsy-react into react-0.14
2015-07-26 15:09:17 +02:00
christianalfoni
82edabde15
added HOC and decorators
2015-07-26 15:06:46 +02:00
Reinier Guerra
31e9590172
Update main.js
2015-07-10 11:18:44 -04:00
Reinier Guerra
8691866c0d
Update main.js
2015-07-09 23:32:23 -04:00
Semigradsky
357f4adf71
`getErrorMessages` should return empty array when there are no errors
2015-07-09 12:53:26 +03:00
Semigradsky
89759fefde
Fix showing multiple error messages
2015-07-09 11:35:52 +03:00
christianalfoni
818b1defbf
Initial commit for new version
2015-07-07 19:31:14 +02:00
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