Skip to content

Commit

Permalink
fix: fixed DbxFormRepeatArrayTypeComponent mark touched
Browse files Browse the repository at this point in the history
  • Loading branch information
dereekb committed Jun 28, 2022
1 parent de64fa7 commit eb1dcea
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ export class DbxFormRepeatArrayTypeComponent extends FieldArrayType<FieldArrayTy
}

this.remove(currentIndex);
this.add(targetIndex, targetValue);
this.add(targetIndex, targetValue, { markAsDirty: true });
this.formControl.markAsTouched();
}

drop(event: CdkDragDrop<unknown>) {
Expand Down

0 comments on commit eb1dcea

Please sign in to comment.