FormArray class has removeAt which takes the index. If you do not know the index, you can do a workaround:this.images.removeAt(this.images.value.findIndex(image => image.id === 502))
FormArray class has removeAt which takes the index. If you do not know the index, you can do a workaround:this.images.removeAt(this.images.value.findIndex(image => image.id === 502))
Cách chuẩn & đơn giản nhất (Khuyến nghị) Mục tiêu Xóa toàn bộ commit history Giữ nguyên code hiện tại main chỉ còn 1 commit...
Không có nhận xét nào:
Đăng nhận xét