react-final-form-arrays
react-final-form-arrays copied to clipboard
using decorators/final form calculate with form array
👋 Hey, thanks for ~~taking an interest in~~ making 🏁 React Final Form Arrays! After trying other form library i can definitely conclude It is near perfect library for forms, just some edges to be sorted out.
Are you submitting a bug report or a feature request?
feature request or maybe a bug report
What is the current behavior?
There is no specification on how to use final-form-calculate or more specifically decorators with array-form
What is the expected behavior?
exposing decorator api to for array form
Sandbox Link
n/a
What's your environment?
applicable to all versions
Other information
n/a
@erikras I have a sample that I think would be applicable to decorators on an array:
When I have a list of addresses
And each address can be marked as defaultBilling or defaultShipping
And only one address in the list can be defaulted at any time
When I check defaultBilling on one address
Then any address previously marked as defaultBilling should be marked as false.
Is decorator the right thing for me or do you have other suggestions?
related https://github.com/final-form/final-form-calculate/issues/4
Any workaround so far?