rememberJsonFormState
Create a JsonFormState that is remembered across compositions. Changes to the provided initial values will not result in the state being recreated or changed in any way if it has already been created.
Parameters
initialValues
the initial value for fields in the form
fun rememberJsonFormState(initialValues: MutableMap<String, Any?>, vararg keys: String): JsonFormState
Create a JsonFormState that is remembered across compositions. Changes to the provided initial values will not result in the state being recreated or changed in any way if it has already been created.
Parameters
initialValues
the initial value for fields in the form
keys
A set of inputs such that, when any of them have changed, will cause the state to reset and init to be rerun