I would like to limit multiple selections within the Material UI Autocomplete component to options within the same group.
See linked sandbox for a setup of the problem without an implemented solution. https://codesandbox.io/s/material-demo-7g4ed?file=/demo.js
So, for example in the sandbox above the user should only be able to select Apple or Amazon products, not both.
Any help is greatly appreciated!