Before this directive we do it this way:
public ngAfterViewInit() {
const contains = (value: string) => (object: IBaseObjectConfigurationField) => object.name.toLowerCase().indexOf(value.toLowerCase()) !== -1;
this.multiSelect.filterChange
.asObservable()
.pipe(
switchMap(value =>
from([this.collection])
.pipe(
tap(() => {
this.multiSelect.loading = true;
}),
delay(value ? 350: 0),
map(data => data.filter(contains(value))),
),
),
)
.subscribe(x => {
this.filteredCollection = x;
this.multiSelect.loading = false;
});
}
Please provide a (global) option for red line!
Hi Daniel,
We are declining this request due to low interest and demand. If it turns out to be popular in the future, we will reconsider the status.
Regards,
Martin
Progress Telerik
Hi Daniel,
Thank you for the logged feature request.
We will track the customer demand here and will consider providing such an enhancement in the future, based on the interest.
I have also updated your account Telerik points for bringing this enhancement to our attention.
Regards,
Martin
Progress Telerik