clear-on-leave-invalid
[wizzard] clearOnLeave of step "<id>" is neither true nor a list of data paths. It is read when thestep is left, and any other value fails that navigation. Set it to true, or put the paths in a list.…/errors/clear-on-leave-invalidReturned by validateFlow as a problem with path: steps.<id>.clearOnLeave, and listed in the message of flow-invalid by assertFlow.
clearOnLeave says what to forget when a step is left, in one of two forms: true drops the step’s
whole slice, and a list of strings drops those paths of data. A single string, false, or a list
with anything but strings in it is neither, and a flow from a server can carry any of them because
no type checked it.
{ "clearOnLeave": ["company.vat", "company.name"] }For one path, wrap it in a list. To keep the data, which is the default, leave the field out rather
than setting it to false.