親の本登録のバリデーションで、会社名が必須の場合はバリデーも会社名の必須が正しく出るように設定して。
このコミットが含まれているのは:
コミット
e5906e2ae4
|
@ -156,7 +156,7 @@ class FathersController extends Controller {
|
|||
$validate = Validator::make($r->all(), [
|
||||
'token' => 'required',
|
||||
'password' => 'required|min:8|max:72|confirmed',
|
||||
'company' => 'max:100',
|
||||
'company' => 'required|max:100',
|
||||
'image' => 'image_size|image_meme',
|
||||
'profile' => 'max:1000',
|
||||
'tel' => 'required|unique:fathers|numeric|starts_with:0|tel_size',
|
||||
|
|
新しいイシューから参照