set variable by textfield name as key
I have 3 textfields and onChange I want to assign the values to an array of 3 key value pairs in the same handler.
The name of that textfields should be the key.
What am I doing wrong here?
I have 3 textfields and onChange I want to assign the values to an array of 3 key value pairs in the same handler.
The name of that textfields should be the key.
What am I doing wrong here?