react-forms
react-forms copied to clipboard
Declarative forms for React
I think for clarity, we should rename `restProps` in all `GetHTMLProps` methods to `htmlProps`. It conveis the message more clearly.
The concept of modifiers is powerful, but with great power comes great responsibility: If the modifier is suitable for chaining, it is a bit more complex. This is why we...
At the moment, usage of validators is not as smooth as I'd like it to be. We should add default validator messages.
Input from users would be really helpful. * [x] StringToDecimalModifier * [ ] StringToTagsModifier * [ ] ApplyToArrayModifier
Handle pasted value extraction including the sign (+, -, no sign) and sign entering on value change. TransitionalValue enables adding signs and only the extraction regex has to be updated...
For a dev build of forms, there should be a type check after each value normalization. If value type changes, an error should be thrown to use modifier for that.
- [x] Required - [ ] Exclusion - check if value isn't in exclusion list Number validators - [ ] OddNumber - [ ] EvenNumber - [ ] GreaterThanNumber -...
Very convenient way of using the forms would be to have a builder constructing a form for a given object. It would not be a declarative way of doing things,...
Input from users would be really helpful. * [x] LowerCase * [x] UpperCase * [x] Alphanumeric