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?
Most helpful comment
On the outside chance anyone's seeing this page like me and trying to get an option disabled in v2, it's now
isDisabled
.