// Don't care if dirty on force check
const isDirty = control.dirty || forceCheck === true
- if (control && isDirty && !control.valid) {
+ if (control && isDirty && control.enabled && !control.valid) {
const messages = validationMessages[ field ]
for (const key of Object.keys(control.errors)) {
formErrors[ field ] += messages[ key ] + ' '
}
private trackPrivacyChange () {
- // We will update the "support" field depending on the channel
+ // We will update the schedule input and the wait transcoding checkbox validators
this.form.controls[ 'privacy' ]
.valueChanges
.pipe(map(res => parseInt(res.toString(), 10)))