Check out example codes for "ASP.Net MVC 5 datalist event trap to perform action". It will help you in understanding the concepts better.
Code Example 1
<input list="items" type="text" />
<datalist id="items">
<option value="1">item 1</option>
<option value="2">item 2</option>
</datalist>
Learn ReactJs, React Native from akashmittal.com