親の本登録のバリデーションで、会社名が必須の場合はバリデーも会社名の必須が正しく出るように設定して。

このコミットが含まれているのは:
守矢諏訪子 2021-12-01 12:43:51 +09:00
コミット e5906e2ae4
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -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',