react-select icon indicating copy to clipboard operation
react-select copied to clipboard

support for disabled options

Open pashap opened this issue 11 years ago • 4 comments

Is there anyway to pass a disabled attribute to an option?

exports.US = [
    { value: 'AL', label: 'Alabama', disabled: true },
    { value: 'AK', label: 'Alaska' },

disabled-option

pashap avatar Apr 27 '15 19:04 pashap

On the outside chance anyone's seeing this page like me and trying to get an option disabled in v2, it's now isDisabled.

MasterSlowPoke avatar Jul 25 '18 05:07 MasterSlowPoke

Why is this not documented anywhere?

tuanalumi avatar Nov 09 '19 05:11 tuanalumi

docs: https://react-select.com/props

T04435 avatar Nov 11 '20 09:11 T04435

Why is this not documented anywhere?

@tuanalumi Take a look at the below URL and search for isDisabled

https://react-select.com/props

iamyahia avatar May 13 '25 10:05 iamyahia