I have a page with several inputs. One of the parent's child components is a table that receives props and has input to change data.
I want to send this information on save button click. Somehow I need to send the table's input values to be sent on form submit, but I have no idea how to do this, with parent-child communication and exchange data.
Which is the smartest or easiest way to do something like this?
An example is here.
Thank you! :)
from Pass table's Input value to Parent's onSubmit function
No comments:
Post a Comment