- Bloodhound Initialization: - Changed the suggestion object structure to a flattened format for Typeahead compatibility. - Removed nested `display` structure in favor of direct `displayLabel` and `displayDescription` fields. - Simplified the construction of suggestion objects by directly setting flattened fields. - Typeahead Initialization: - Enhanced logging in the JavaScript initialization script for better debugging. - Updated the `display` function in Typeahead to use flattened fields (`displayLabel` and `displayDescription`) instead of nested `display` objects. - Improved error handling and logging for cases where suggestions are not arrays or are empty. - Selection Handling: - Added detailed logging for selected suggestions in both Rust and JavaScript. - Ensured the input field is updated with the selected suggestion's label. - Code Cleanup: - Removed redundant nested object creation for `display` fields in Bloodhound initialization. - Streamlined the JavaScript initialization script for better readability and maintainability. - Consolidated logging statements for consistent debugging output. |
||
---|---|---|
.. | ||
editable_cell.rs | ||
items_list.rs | ||
mod.rs | ||
typeahead_input.rs |