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