clean up description editor progress bar
This commit is contained in:
parent
b9f1805bb2
commit
aa5235e950
|
@ -66,7 +66,7 @@ export class FormProgressIndicationComponent extends BaseComponent implements On
|
||||||
return valueCurrent;
|
return valueCurrent;
|
||||||
}
|
}
|
||||||
|
|
||||||
countRequiredFieldsByFieldset(ordinal: number, fieldsFormGroup: UntypedFormGroup, filterValid: boolean = false): number {
|
countRequiredFieldsByFieldset(ordinal: number, fieldsFormGroup: UntypedFormGroup, filterValid: boolean = false): number {
|
||||||
let fieldsCount: number = 0;
|
let fieldsCount: number = 0;
|
||||||
const fieldNames = Object.keys(fieldsFormGroup.controls);
|
const fieldNames = Object.keys(fieldsFormGroup.controls);
|
||||||
for(let item of fieldNames) {
|
for(let item of fieldNames) {
|
||||||
|
@ -207,7 +207,9 @@ export class FormProgressIndicationComponent extends BaseComponent implements On
|
||||||
if (validator && validator.required) {
|
if (validator && validator.required) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
} else { return false }
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
controlEnabled(formControl: AbstractControl) {
|
controlEnabled(formControl: AbstractControl) {
|
||||||
|
|
Loading…
Reference in New Issue