Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class ColorRules extends Component {
options={operatorOptions}
selectedOptions={selectedOperatorOption ? [selectedOperatorOption] : []}
onChange={this.handleChange(model, 'operator')}
singleSelection={true}
singleSelection={{ asPlainText: true }}
fullWidth
/>
</EuiFlexItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class DataFormatPicker extends Component {
options={options}
selectedOptions={selectedOption ? [selectedOption] : []}
onChange={this.handleChange}
singleSelection={true}
singleSelection={{ asPlainText: true }}
/>
</EuiFormRow>
</EuiFlexItem>
Expand All @@ -149,7 +149,7 @@ class DataFormatPicker extends Component {
options={durationInputOptions}
selectedOptions={selectedFrom ? [selectedFrom] : []}
onChange={this.handleDurationChange('from')}
singleSelection={true}
singleSelection={{ asPlainText: true }}
/>
</EuiFormRow>
</EuiFlexItem>
Expand All @@ -166,7 +166,7 @@ class DataFormatPicker extends Component {
options={durationOutputOptions}
selectedOptions={selectedTo ? [selectedTo] : []}
onChange={this.handleDurationChange('to')}
singleSelection={true}
singleSelection={{ asPlainText: true }}
/>
</EuiFormRow>
</EuiFlexItem>
Expand Down Expand Up @@ -224,7 +224,7 @@ class DataFormatPicker extends Component {
options={options}
selectedOptions={selectedOption ? [selectedOption] : []}
onChange={this.handleChange}
singleSelection={true}
singleSelection={{ asPlainText: true }}
/>
</EuiFormRow>
</EuiFlexItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function IconSelect(props) {
options={props.icons}
selectedOptions={selectedIcon ? [selectedIcon] : []}
onChange={props.onChange}
singleSelection={true}
singleSelection={{ asPlainText: true }}
renderOption={renderOption}
/>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function GroupBySelectUi(props) {
options={modeOptions}
selectedOptions={[selectedOption]}
onChange={props.onChange}
singleSelection={true}
singleSelection={{ asPlainText: true }}
/>
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const SplitByTermsUi = props => {
options={dirOptions}
selectedOptions={selectedDirectionOption ? [selectedDirectionOption] : []}
onChange={handleSelectChange('terms_direction')}
singleSelection={true}
singleSelection={{ asPlainText: true }}
/>
</EuiFormRow>
</EuiFlexItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class TableSeriesConfig extends Component {
options={functionOptions}
selectedOptions={selectedAggFuncOption ? [selectedAggFuncOption] : []}
onChange={handleSelectChange('aggregate_function')}
singleSelection={true}
singleSelection={{ asPlainText: true }}
fullWidth
/>
</EuiFormRow>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const TimeseriesConfig = injectI18n(function (props) {
options={chartTypeOptions}
selectedOptions={selectedChartTypeOption ? [selectedChartTypeOption] : []}
onChange={handleSelectChange('chart_type')}
singleSelection={true}
singleSelection={{ asPlainText: true }}
/>
</EuiFormRow>
</EuiFlexItem>
Expand All @@ -126,7 +126,7 @@ const TimeseriesConfig = injectI18n(function (props) {
options={stackedOptions}
selectedOptions={selectedStackedOption ? [selectedStackedOption] : []}
onChange={handleSelectChange('stacked')}
singleSelection={true}
singleSelection={{ asPlainText: true }}
/>
</EuiFormRow>
</EuiFlexItem>
Expand Down Expand Up @@ -206,7 +206,7 @@ const TimeseriesConfig = injectI18n(function (props) {
options={chartTypeOptions}
selectedOptions={selectedChartTypeOption ? [selectedChartTypeOption] : []}
onChange={handleSelectChange('chart_type')}
singleSelection={true}
singleSelection={{ asPlainText: true }}
/>
</EuiFormRow>
</EuiFlexItem>
Expand All @@ -223,7 +223,7 @@ const TimeseriesConfig = injectI18n(function (props) {
options={stackedOptions}
selectedOptions={selectedStackedOption ? [selectedStackedOption] : []}
onChange={handleSelectChange('stacked')}
singleSelection={true}
singleSelection={{ asPlainText: true }}
/>
</EuiFormRow>
</EuiFlexItem>
Expand Down Expand Up @@ -366,7 +366,7 @@ const TimeseriesConfig = injectI18n(function (props) {
options={splitColorOptions}
selectedOptions={selectedSplitColorOption ? [selectedSplitColorOption] : []}
onChange={handleSelectChange('split_color_mode')}
singleSelection={true}
singleSelection={{ asPlainText: true }}
/>
</EuiFormRow>
</EuiFlexItem>
Expand Down Expand Up @@ -444,7 +444,7 @@ const TimeseriesConfig = injectI18n(function (props) {
options={positionOptions}
selectedOptions={selectedAxisPosOption ? [selectedAxisPosOption] : []}
onChange={handleSelectChange('axis_position')}
singleSelection={true}
singleSelection={{ asPlainText: true }}
/>
</EuiFormRow>
</EuiFlexItem>
Expand Down