示例#1
0
 public function __construct()
 {
     $this->labelPosition = static::LABEL_NONE;
     $this->datalistAllowed = false;
     $this->input = (new Elements\Button())->attr('type', 'submit');
     parent::__construct();
 }
示例#2
0
 public function __construct()
 {
     $this->labelPosition = static::LABEL_AFTER;
     $this->datalistAllowed = false;
     $this->input = new Elements\InputRadio();
     parent::__construct();
 }
示例#3
0
 public function __construct()
 {
     $this->input = new Elements\InputEmail();
     parent::__construct();
 }
示例#4
0
 public function __construct()
 {
     $this->datalistAllowed = false;
     $this->input = (new Elements\Input())->attr('type', 'password');
     parent::__construct();
 }
示例#5
0
 public function __construct()
 {
     $this->labelPosition = static::LABEL_AFTER;
     $this->input = new Elements\InputCheckbox();
     parent::__construct();
 }
示例#6
0
文件: Info.php 项目: oscarotero/folk
 public function __construct()
 {
     parent::__construct((new Elements\Input())->type('hidden'));
     $this->set('list', true);
     $this->wrapper->class('format is-responsive');
 }
示例#7
0
 public function __construct()
 {
     $this->input = (new Elements\Input())->attr('type', 'text');
     parent::__construct();
 }
示例#8
0
 public function __construct()
 {
     $this->datalistAllowed = false;
     $this->input = new Elements\Textarea();
     parent::__construct();
 }
示例#9
0
 public function __construct()
 {
     $this->input = new Elements\InputDatetime();
     parent::__construct();
 }
示例#10
0
 public function __construct()
 {
     $this->input = (new Elements\InputNumber())->attr('type', 'range');
     parent::__construct();
 }