fieldPathsOfStep
Gives the Formisch path of every field with a value placed in a step, for an input, with the fields of each list item there is.
ts
const paths = fieldPathsOfStep(step, input)Parameters
stepLayoutStepinputunknown: the form's input, like Formisch'sgetInput(form)
Explanation
The paths are in layout order, a group or a list before its fields: ['lines', 0, 'product'], ['lines', 1, 'product']. Use them to clear a step's errors with Formisch's setErrors when the user first gets to it.
Returns
pathsFieldPath[]