-
Notifications
You must be signed in to change notification settings - Fork 60
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
Get Whole form in JSON with changed value #73
Comments
Hi, The preferred way to collect data from the form is via the:
As described in readme:
This was useful in our projects because we didn't want to send the whole form back (because it is a lot of data that server already knows about) so we were sending only those triplets. Unfortunately, there is no functionality of serializing the model tree back to the JSON - this library cares only about deserialization. However, I think this is achievable without any modification of the library. You just need your root FormElement and use the |
Thank you for your response. |
As a beginner to flutter and going through this library, instead of serializing the model to the JSON (may consist of unknown depth of the tree) we can extract the FormElement and set it's value using In this library there is getFormProperties() but not for setting the properties.
I hope this will help further :) |
Hi,
Is there any way I can get the whole form with values changed by the user?
In my case, I have to maintain the version of the forms with changed data.
Thank you
The text was updated successfully, but these errors were encountered: