react-final-form-hooks icon indicating copy to clipboard operation
react-final-form-hooks copied to clipboard

Field level format, parse, and validate.

Open PaulSavignano opened this issue 6 years ago • 5 comments

feature request

Would like guidance on implementing field level validation, parse, and format functions.

PaulSavignano avatar Dec 06 '18 22:12 PaulSavignano

Yes, parse/format is functionality from RFF that wasn't implemented here. I'll think about how best to add it.

The field-level validation could be added easily via the "field config" prop to registerField().

Let me think on both of these... 🤔

erikras avatar Dec 13 '18 17:12 erikras

Thanks for the update here Erik! I'll check into the registerField() prop.

PaulSavignano avatar Dec 17 '18 23:12 PaulSavignano

I didn't mean for you to close this. It's still a legit feature request.

erikras avatar Dec 24 '18 08:12 erikras

I didn't get what do you mean by "field config" prop to registerField() :) Can you show any code example maybe?

RIP21 avatar Jan 16 '19 13:01 RIP21

Seconded. Please provide some examples.

baharev avatar Jun 06 '20 14:06 baharev