How to send data to input fields using button click ?
I have this below UI when I enter an agent id and click the search button it displays a table of available agents. In that table I want to select an agent using select agent button. I want to send the selected data to below text input fields using a select agent button click. How can I do that? As an example -
if I click the A1 agent row Select Agent button the bellow text inputs should be updated as
Id- A1
name- ashina
mail- Proprietary information hidden
then again if click the A3 agent row Select Agent button the bellow text inputs should be updated as
Id- A3
name- ashina3
mail- Proprietary information hidden
Is there any way to implement this?