Skip to content

Commit d1f9e4d

Browse files
MKirovaMayaKirova
authored andcommitted
chore(*): Ensure correct value is set on create.
1 parent 7123b58 commit d1f9e4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/igniteui-angular/src/lib/grids/grid/grid-validation.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export class IgxGridValidationService {
3232
const value = resolveNestedPath(data || {}, col.field);
3333
const field = this.getFieldKey(col.field);
3434
const control = new FormControl(value, { updateOn: this.grid.validationTrigger });
35+
control.setValue(value);
3536
control.addValidators(col.validators);
3637
formGroup.addControl(field, control);
3738
}

0 commit comments

Comments
 (0)