/** * The class is set to flexible-drop-down so this can be used by the operator to signal that the select input * can change to a multi-select or back. * @return array */ protected function getEditableHtmlOptions() { $htmlOptions = parent::getEditableHtmlOptions(); $htmlOptions['class'] = 'flexible-drop-down'; if ($this->resolveOperatorRequiresMultiSelect() || $this->alwaysMultiple) { $htmlOptions['multiple'] = true; $htmlOptions['class'] .= ' multiple ignore-style'; } return $htmlOptions; }
protected function getEditableHtmlOptions() { $htmlOptions = parent::getEditableHtmlOptions(); if (isset($htmlOptions['class'])) { $htmlOptions['class'] .= ' operatorType'; } else { $htmlOptions['class'] = 'operatorType'; } return $htmlOptions; }
/** * @return array */ protected function getEditableHtmlOptions() { $htmlOptions = parent::getEditableHtmlOptions(); $htmlOptions['separator'] = ''; $htmlOptions['template'] = '<div class="radio-input">{input}{label}</div>'; $htmlOptions['class'] = 'chart-selector'; if (isset($htmlOptions['empty'])) { unset($htmlOptions['empty']); } return $htmlOptions; }
protected function getEditableHtmlOptions() { $htmlOptions = parent::getEditableHtmlOptions(); $htmlOptions['multiple'] = true; return $htmlOptions; }