react-select
react-select copied to clipboard
support for disabled options
Is there anyway to pass a disabled attribute to an option?
exports.US = [
{ value: 'AL', label: 'Alabama', disabled: true },
{ value: 'AK', label: 'Alaska' },

On the outside chance anyone's seeing this page like me and trying to get an option disabled in v2, it's now isDisabled.
Why is this not documented anywhere?
docs: https://react-select.com/props
Why is this not documented anywhere?
@tuanalumi Take a look at the below URL and search for isDisabled
https://react-select.com/props