Commit 2b5eb3c3 authored by Diao Diallo's avatar Diao Diallo
Browse files

Issue #3257873 by diaodiallo: Changed the three config fields to select type.

parent c3b63902
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ class ChartsDrilldownPluginStyleChart extends ChartsPluginStyleChart {
    // reduce chart type options
    unset($form['grouping']);
    $form['fields_series_field'] = [
      '#type' => 'radios',
      '#type' => 'select',
      '#title' => $this->t('Series Field'),
      '#options' => $data_options,
      '#weight' => -6,
@@ -39,7 +39,7 @@ class ChartsDrilldownPluginStyleChart extends ChartsPluginStyleChart {
      '#description' => $this->t('Select the series field.'),
    ];
    $form['fields_drilldown_series_field'] = [
      '#type' => 'radios',
      '#type' => 'select',
      '#title' => $this->t('Drilldown Field'),
      '#options' => $data_options,
      '#weight' => -5,
@@ -47,7 +47,7 @@ class ChartsDrilldownPluginStyleChart extends ChartsPluginStyleChart {
      '#description' => $this->t('Select the drilldown field.'),
    ];
    $form['fields_data_field'] = [
      '#type' => 'radios',
      '#type' => 'select',
      '#title' => $this->t('Data Field'),
      '#options' => $data_options,
      '#weight' => -4,