Adding check that value is valid (#16555)

This commit is contained in:
Chris Cowan 2018-03-08 11:10:26 -07:00
parent efb5db0e08
commit 0a33e7d874

View file

@ -149,6 +149,7 @@ function AggSelect(props) {
}
const handleChange = (value) => {
if (!value) return;
if (value.disabled) return;
if (value.value) props.onChange(value);
};