<?php
namespace App\Form\Input; class Select_Currency extends \Engine\Form\Input\Select { protected function determinePossibleValues() { $assocCurr=[]; foreach(\App\Config\Currencies::getInstance()->getSimple() as $c) { $assocCurr[$c]=$c; } return $assocCurr; } protected function getTemplateParams($templateClass = null, $parentElement = null) { $this->setStyle('width', ''); return parent::getTemplateParams($templateClass, $parentElement); } } 