From 102f69fd2932f3a37f0d272cd3b34f4a32bb5fdd Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 11 Apr 2025 16:16:16 +0300 Subject: [PATCH] fix(debug): remove buggy typeahead debug check --- src/components/typeahead_input.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/components/typeahead_input.rs b/src/components/typeahead_input.rs index 8729a23..4d3f954 100644 --- a/src/components/typeahead_input.rs +++ b/src/components/typeahead_input.rs @@ -112,15 +112,6 @@ pub fn TypeaheadInput( log!("[INPUT] Value changed: {}", value); let _ = js_sys::eval("console.log('jQuery version:', $.fn.jquery)"); let _ = js_sys::eval("console.log('Typeahead version:', $.fn.typeahead ? 'loaded' : 'missing')"); - // Add debug check for Typeahead instance - if let Some(input) = node_ref.get() { - let dom_input: web_sys::HtmlInputElement = input.unchecked_into(); - let id = dom_input.id(); - let _ = js_sys::eval(&format!( - "console.log('Typeahead instance for #{id}:', $('#{id}').data('ttTypeahead'))", - id = id - )); - } } /> }