Fixes #14470 - Remove field restriction on cardinality agg (#14483)

This commit is contained in:
Chris Cowan 2017-10-18 09:53:34 -04:00
parent 9c5c1b53f0
commit c946a7a815

View file

@ -12,7 +12,7 @@ function StandardAgg(props) {
const handleSelectChange = createSelectHandler(handleChange);
let restrict = 'numeric';
if (model.type === 'cardinality') {
restrict = 'string';
restrict = 'none';
}
const indexPattern = series.override_index_pattern && series.series_index_pattern || panel.index_pattern;