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

Submit option, only dirty values #142

Open
NielsJorck opened this issue Feb 26, 2025 · 0 comments
Open

Submit option, only dirty values #142

NielsJorck opened this issue Feb 26, 2025 · 0 comments
Labels
✨ enhancement New feature or request

Comments

@NielsJorck
Copy link

Is your feature request related to a problem? Please describe.
A bit of niche feature, but if we are creating a patch-merge request it should only include the values that have changed values, eg. dirty fields.
However currently we have to check each field manually and see if it is dirty or not, which is kind of a pain.

Describe the solution you'd like
If it is possible to include an options object to the handleSubmit, that could indicate which fields to target, eg. dirty fields, and only return those, that would solve this issue.

Describe alternatives you've considered
Currently it has to be handled outside of the framework, which doesn't work very well.

@NielsJorck NielsJorck added the ✨ enhancement New feature or request label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant