11 lines
299 B
Plaintext
11 lines
299 B
Plaintext
|
|
<FormControl id="disabled-options-demo">
|
||
|
|
<FormLabel>Disabled options</FormLabel>
|
||
|
|
<Autocomplete
|
||
|
|
options={timeSlots}
|
||
|
|
placeholder="Disabled options"
|
||
|
|
getOptionDisabled={(option) =>
|
||
|
|
option === timeSlots[0] || option === timeSlots[2]
|
||
|
|
}
|
||
|
|
sx={{ width: 300 }}
|
||
|
|
/>
|
||
|
|
</FormControl>
|