Compware/src/components
ryan 486bf9cbad feat(typeahead): update structure and enhance Typeahead integration and logging:
- 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.
2025-04-14 17:42:04 +03:00
..
editable_cell.rs feat(typeahead): use typeahead for name input field 2025-04-04 18:47:12 +03:00
items_list.rs feat(typeahead): update structure and enhance Typeahead integration and logging: 2025-04-14 17:42:04 +03:00
mod.rs feat(typeahead): use typeahead for name input field 2025-04-04 18:47:12 +03:00
typeahead_input.rs feat(typeahead): update structure and enhance Typeahead integration and logging: 2025-04-14 17:42:04 +03:00