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))
trong file /opt/bitnami/wordpress/wp-content/themes/astra-child/functions.php
Không có nhận xét nào:
Đăng nhận xét