Expression has changed after it was checked
In our item component, we set the element role based on whether item is empty or
not. If it's empty, then no role set; if not, role set as a listbox.
empty(): boolean {
return this.items && this.items.length === 0;
}
set role() {
this.role = this.empty…