         this.data = [];
                this.filteredData = [];
                this.selectedItem = null;
                this.isOpen = false;
                this.disabled = options.disabled || false;
                
                this.onSelect = options.onSelect || (() => {});
                this.onClear = options.onClear || (() => {});
                
                this.init();
            }
            
            init() {
                // Toggle dropdown on input click
                this.i