You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We configured a form with the combination of form fields and form array using Markup Schema. We are trying to use custom Input component instead of Antd Input component for one of the FieldArray fields. But the problem is we are able to use our custom input component but onchange event is not updating the form field values.
Below is the SchemaField array,
In the above code the onchange event from the library I am using for textbox is onAppChange =() => {}. If we type the characters in input field(AppInput) the form field values are not updating. Can you please help how can i update the form field from onAppChange event. Can you atleast help me to get the Index of form array component here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We configured a form with the combination of form fields and form array using Markup Schema. We are trying to use custom Input component instead of Antd Input component for one of the FieldArray fields. But the problem is we are able to use our custom input component but onchange event is not updating the form field values.
Below is the SchemaField array,
In the above code the onchange event from the library I am using for textbox is onAppChange =() => {}. If we type the characters in input field(AppInput) the form field values are not updating. Can you please help how can i update the form field from onAppChange event. Can you atleast help me to get the Index of form array component here.
Below is the Answers component,
Beta Was this translation helpful? Give feedback.
All reactions