0.12.0
The designer has allowed only the validation of the steps so far. The root of the definition could be edited by the global editor, but the validation was not possible. This version adds a new type of the validator: the root validator. The new validator affects on the result of the definition validation (designer.isValid()
).
Breaking Changes
- The
validator
property in thesteps
group of the configuration is deleted. Use thestep
property in thevalidator
group instead. - The step validator has a new parameter:
definition
. - Added the root validator.
const configuration = {
steps: {
validator: /* DEPRECIATED */,
},
validator: {
step: (step, parentSequence, definition) => { /* ... */ },
root: (definition) => { /* ... */ }
},
// ...
};