mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-23 22:17:15 -04:00
Fixed disabled options for SelectInput
This commit is contained in:
parent
ccbc8f591b
commit
fa1d6ad109
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,7 @@ class SelectInput extends Component {
|
|||
const {
|
||||
key,
|
||||
value: optionValue,
|
||||
isDisabled: optionIsDisabled = false,
|
||||
...otherOptionProps
|
||||
} = option;
|
||||
|
||||
|
@ -59,6 +60,7 @@ class SelectInput extends Component {
|
|||
<option
|
||||
key={key}
|
||||
value={key}
|
||||
disabled={optionIsDisabled}
|
||||
{...otherOptionProps}
|
||||
>
|
||||
{typeof optionValue === 'function' ? optionValue() : optionValue}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue