Javascript – react-hook-form not using the right prop when input name is changed dynamically
I have a form (codesandbox here) with 2 components: A select input for the language (e.g.: English, Spanish) A textfield where the user enters a text in the selected language The default form data looks like this: { "greeting": {…