ShadCN form updating the input field values manually
I am trying to build a form that shows a suggestion of serial numbers (data is fetched via an API and is happening correctly). I am able to get a suggestion of all serial numbers, however I dont understand how to chnage the value stored in the shadCN input field on clicking the suggested serial number.
the fetching and displaying is happening in the ProductInput component
The relevant code file is below: