How to call event.preventDefault() to stop selecting a step in Train component in VBCS?
Summary:
I am trying to use a Train component with some validations in train steps. If the validation gets failed at any step then it should not allow user to select next step. I have tried to follow the below cookbook but is is throwing the below error. Need some guidance to implement this feature. Attached is the action chain and function code for your reference.
Error: Chain TrainBeforeSelectChain failed. TypeError: Illegal invocation
https://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=train&demo=validation
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
0