mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
ButtonSelect: Respect isDisabled option property (#85954)
make buttonselect respect isDisabled
This commit is contained in:
@@ -100,6 +100,7 @@ const ButtonSelectComponent = <T,>(props: Props<T>) => {
|
||||
active={item.value === value?.value}
|
||||
ariaChecked={item.value === value?.value}
|
||||
ariaLabel={item.ariaLabel || item.label}
|
||||
disabled={item.isDisabled}
|
||||
role="menuitemradio"
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user