You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 2, 2024. It is now read-only.
This is more of a question than a feature request, I am not sure if I should be wanting this or if there is a better way, but I find myself needing to store the current state of the form (for example to save it as a "draft" for later retrieval on a server). As soon as the input validates, I can convert it into my Model and have a Json codec for that, but the form may still be invalid (missing or illegal input).
Seeing that both field names and field values are just strings before they get turned into the Model, it seems that there could be a built-in function that can convert the form state into JSON and back again.
Am I completely off track here?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is more of a question than a feature request, I am not sure if I should be wanting this or if there is a better way, but I find myself needing to store the current state of the form (for example to save it as a "draft" for later retrieval on a server). As soon as the input validates, I can convert it into my
Model
and have a Json codec for that, but the form may still be invalid (missing or illegal input).Seeing that both field names and field values are just strings before they get turned into the
Model
, it seems that there could be a built-in function that can convert the form state into JSON and back again.Am I completely off track here?
The text was updated successfully, but these errors were encountered: