How to set component state based on Material UI selected table rows

Any pointers to help a learner out appreciated. What I'm trying to build A form with 2 inputs: A text field (patient email) An array (created by compiling a selection of table rows) I am tryin...