reset

fun reset(initialValue: T)

Resets the form state to initialValue and clears all error/dirty state.