Back to Jsoneditor

Auto Complete with Text/Value Objects

examples/28_autocomplete_text_value_objects.html

10.4.3399 B
Original Source

Auto Complete with Text/Value Objects

This example demonstrates the enhanced autocomplete functionality using objects with separate text (display) and value (actual value) properties. You can search by either the company name or stock symbol. Try typing "Apple", "Microsoft", "Google", "AAPL", "MSFT", or "GOOGL". The dropdown shows company names, but the selected value will be the stock symbol.