I'm building a search modal with autocomplete and what I eventually want to achieve is to be able to search people by their names OR ID. But as you choose a person from suggestion and the name goes to input field I don't want the ID to show up (the reason is real IDs will be really long and it would look ugly).
Here is a screenshot for better understanding of the issue 
I don't want that number 6 to appear once I choose an option from suggestions.
Here is my code for the autocomplete
<Autocomplete
multiple
id="tags-outlined"
options={students}
onInputChange={(event) => event.target}
getOptionLabel={({ firstName, lastName, id }) =>
`${firstName} ${lastName} ${id}`
}
filterSelectedOptions
renderOption={({ firstName, lastName, id }) => {
return (
<div>
<div>
{`${firstName} `}
{lastName}
</div>
<span>{id}</span>
</div>
);
}}
renderInput={(params) => (
<TextField
{...params}
className={classes.input}
variant="outlined"
label="Name or Student ID"
/>
)}
/>