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))
https://ui.dev/react-router-url-parameters If you're reading this, you're probably familiar with the idea of function parameters. T...
Không có nhận xét nào:
Đăng nhận xét