       });
            }
            
            setData(data) {
                this.data = data;
                this.filteredData = [...data];
                this.renderOptions();
            }
            
            filter(query) {
                const lowerQuery = query.toLowerCase();
                this.filteredData = this.data.filter(item => 
                    item.name.toLowerCase().includes(lowerQuery) ||
                    item.name_with_type.toLowerCase().includes(lowerQuery) ||
        