Skip to content

Commit b85a1a0

Browse files
committed
[ML] Reseting categorization validation if category field is cleared (#56029)
1 parent 7f9564e commit b85a1a0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

x-pack/legacy/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export class CategorizationJobCreator extends JobCreator {
100100
delete this._job_config.analysis_config.categorization_field_name;
101101
this._categoryFieldExamples = [];
102102
this._validationChecks = [];
103+
this._overallValidStatus = CATEGORY_EXAMPLES_VALIDATION_STATUS.INVALID;
103104
}
104105
}
105106

0 commit comments

Comments
 (0)