lang("{$this->getAttribute('class_path')}.label.{$field}") . " 선택"]; foreach (service('trafficservice')->getEntities() as $entity) { $tempOptions[$entity->getPK()] = $entity->getTitle(); } $options[$field]['options'] = $tempOptions; $options[$field]['extras'] = ['class' => 'select-field']; break; default: $options = parent::getFormOption($action, $field, $options); break; } return $options; } }