formous
formous copied to clipboard
Add setFieldValues method
This takes moves of the code from the setDefaultValues
into a new setFieldValues
method that works similarly except without the defaultsSet
guard.
This is useful for instance where you have a form that displays data that's re-fetched or otherwise modified. When the data is changed there's no way to re-set the form to the current data.