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

using decorators/final form calculate with form array

Open shrynx opened this issue 7 years ago • 3 comments

👋 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

shrynx avatar Jan 08 '18 07:01 shrynx

@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?

rosskevin avatar Jan 23 '18 20:01 rosskevin

related https://github.com/final-form/final-form-calculate/issues/4

shrynx avatar Feb 22 '18 10:02 shrynx

Any workaround so far?

dziamid avatar Aug 26 '19 22:08 dziamid