How to use the cwlts/models/helpers/validation/ErrorCode.ErrorCode.EXPR_ALL function in cwlts

To help you get started, we’ve selected a few cwlts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rabix / composer / src / app / tool-editor / sections / base-command / base-command-list / base-command-list.component.ts View on Github external
this.modal.delete("base command").then(() => {
            // reset the expression's validity
            this.baseCommand[i].clearIssue(ErrorCode.EXPR_ALL);
            (this.form.get("list") as FormArray).removeAt(i);
        }, err => {
            console.warn(err);