Skip to content
New issue

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

Implement onValuesChanged prop/callback #79

Open
3 tasks
sergei-maertens opened this issue Mar 11, 2025 · 0 comments
Open
3 tasks

Implement onValuesChanged prop/callback #79

sergei-maertens opened this issue Mar 11, 2025 · 0 comments
Assignees

Comments

@sergei-maertens
Copy link
Member

The SDK/parent component must be able to react to value changes inside the form (because of user input) so that backend logic calls can be scheduled (see #78). Ideally, this would be via a prop onValuesChanged={newValues => {...}}.

I'm not sure yet at the moment if we only need to react to value changes because of user input (could be wired up through Formik's handleChange) or to all changes (in which case we'd probably need to run a useEffect hook).

Tasks

  • Figure out which events should trigger the callback
  • Add the onValuesChanged prop
  • Implement the callback behaviour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant