State transformation
In some cases it may be necessary to transform the form state before it is passed to the validator.
You can do this by providing getSnapshot
attribute.
Omit extra data
One of the transformation options you can apply is deleting unnecessary data.
For this you can use omitExtraData
function.