mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
Adding check that value is valid (#16555)
This commit is contained in:
parent
efb5db0e08
commit
0a33e7d874
1 changed files with 1 additions and 0 deletions
|
@ -149,6 +149,7 @@ function AggSelect(props) {
|
|||
}
|
||||
|
||||
const handleChange = (value) => {
|
||||
if (!value) return;
|
||||
if (value.disabled) return;
|
||||
if (value.value) props.onChange(value);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue