public function textField($key, $label=null, array $attr=[]){
		$field = $this->factory("text", $key, $label, $attr);
		return $this->addField($field);
	}
public function textField($key, $label=null, array $attr=[]){
		$field = $this->factory("text", $key, $label, $attr);
		return $this->addField($field);
	}
public function textField ( $ key , $ label = null , array $ attr = [ ] ) { $ field = $ this -> factory ( "text" , $ key , $ label , $ attr ) ; return $ this -> addField ( $ field ) ; }
Regular "text" input.

@option 'type' {string} HTML type attribute, e.g. <code>email</code> or <code>tel</code>.
Regular text input .