/** * 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; }
/** * @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; }
/** * @param TriggerForWorkflowForm $model * @param string $attribute * @param null $form * @param array $params */ public function __construct($model, $attribute, $form = null, array $params = array()) { assert('$model instanceof MultiSelectDropDownWorkflowActionAttributeForm'); parent::__construct($model, $attribute, $form, $params); }
protected function renderControlEditable() { $content = parent::renderControlEditable(); return $content; }