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