I am trying to create a search box for searching structured data, where all the fields are known. I want to create a type ahead search box which has two types of typeaheads: 1. Type ahead for fields 2. Type ahead for values of a specific field. Image below shows what I am trying to achieve.
I already have the backends ready to serve typeaheads and searches. I am not able to figure out how to create a custom text field that can submit multiple form values and query multiple typeahead backends
This is a lot like gmail or kibana search boxes. Will appreciate examples or if someone can point me in the correct direction.
PS: A complete javascript newbie here. I can only understand pure js or jquery.