function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
inbox outbox 7inbox outbox 7 

We need to have an input field that searches account and then a datatable that show a list of contacts

I am looking for only lightning-input not a combobox, or select/option tags or bullets, an input field (account search).

AbhinavAbhinav (Salesforce Developers) 
Have you tried anything for it if yes please share the code
inbox outbox 7inbox outbox 7
What I have done is use select and option tags instead of input field.  
In js, I have called two apex methods, one method returns list of contacts and the parameter is String accountId, one method list of accounts. 
I used wire apex method with a property and used that in the select, option tags (option tag has loop). Datatable onSave method's event handler, takes care of the list of contacts.