public function getErrors(){
		$errors=[];
		foreach($this->fields as $field){
			if(!$field->isValid()){				
				$errors[]=['field'=>$field->getLabel(),'message'=>$field->getError()];
			}
		}

		return $errors;
	}