christianalfoni
86aec656df
Fixed dynamic validations, disable form, dynamic value update etc.
2015-03-07 12:51:15 +01:00
Hana Wang
9ef8590f80
Actually check for invalid floats
2015-02-26 04:59:19 -08:00
Hana Wang
a65b2943b0
Allow floats for isNumeric
2015-02-25 10:35:30 -08:00
christianalfoni
385263c383
Merged two pull requests
2015-02-23 08:55:36 +01:00
Christian Alfoni
bbc6ad38e2
Merge pull request #27 from sdemjanenko/update_pristine_values_on_model
...
Update form's model if the input is pristine and its value changes; test
2015-02-23 07:39:23 +01:00
Stephen Demjanenko
03bc5a4079
Update form's model if the input is pristine and its value changes; test
...
This fixes a case where a form initializes with default values loaded
from the server. If an update comes in from the server and the user has
not touched the field (its pristine) then update the field's value.
This feature will help track if the user has actually made any changes
from the default value that the form was/would have been initialized
with.
2015-02-21 13:00:26 -08:00
Stephen Demjanenko
e9310002d1
registerInputs: Support null/undefined children; add test
...
A lot of react examples have rendering functions which early return null
(such as a closed dropdown). This method was erroring in that case.
2015-02-21 12:16:46 -08:00
Christian Alfoni
86ba085cc4
onChange, dynamic form elements and bug fix
2015-02-03 15:03:55 +01:00
Christian Alfoni
15b6df9526
Pristine, mapping and tests
2015-01-21 15:16:27 +01:00