I need to click on a text type input to see a screen where I can enter text and when I click on an "Accept" button, I return the written data and put it in the original input.
For example:
-
Input1
when theclick
event is executed when a modal is opened.
The modal has a input2
where the user can write (states of Mexico for example) and with an "Accept" button close this screen and states written in input2
are written in input1
.