Files
react-test/docs/data/joy/components/autocomplete/DisabledOptions.tsx.preview

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
299 B
Plaintext
Raw Normal View History

2025-12-12 14:26:25 +09:00
<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>