Hi,
I have 3 items in form cell filter. After we select 2 of them and try to reset it, the button renders twice.
I am using following code to clear values. I got this snippet from Asset manager application. I saw this behaviour in Asset manager demo app downloaded from app store as well in equipment filter section. Attached images.before-reset.pngafter-reset.png
static setFilterValue(control, value) {
if (control) {
control.setValue(value);
}
}
If this is not the correct way, this is there any other way to clear the filter here?
Thanks,
Shubham