We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal:
const formA = createForm({ fields: {}, // ... submit: () => fetch() }); const formB = createForm({ submit: { mapParams: fields => ({ foo: 'bar', ...fields }), fn: fetchFx } }); const formC = createForm({ submit: { source: { foo: $foo }, mapParams: (fields, fromSource) => ({ ...fromSource, ...fields }), fn: fetchFx } }); formC.$submitStatus; // Store<'initial' | 'pending' | 'done' | 'fail'> formC.$succeeded; // Store<boolean> formC.submitted.success; // Event<?> formC.submitted.failure; // Event<?> formC.submitted.finally; // Event<?>
The text was updated successfully, but these errors were encountered:
combineFields
secundant
Successfully merging a pull request may close this issue.
Proposal:
The text was updated successfully, but these errors were encountered: