I'm beginner in ReactJS and I'm with a problem with Selects. I have a Select that renders some names with MenuItem.
What I need is that Select already comes with some names checked within the list of names. For example, the name Van Henry and Ralph Hubbard were already included in the list.
In order to know which item in the list should be marked, two arrays are compared, if the value in one is also in the other. So I mark that name in the list.
I'll show an image, I think I can explain better that way:
Here's my code I put at CodeSandBox: https://codesandbox.io/s/material-demo-4iksi?file=/index.js
Can someone help me? Thank you in advance.

