I'm trying to filter data table component based on the value passed by select drop down component.I'm using @Input()
attribute but the selected dropdown data is not been passed to data table component.
If it is passed I will be able to filter table using the below logic:
Not sure where I'm doing wrong here.
onChangeDetected(val){
this.someData= this.someData.filter(x => x.value== val)
}
Full implementation can be found here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With