URL nullable validation isn’t working in Laravel 5.4?
This commit is contained in:
@@ -26,7 +26,7 @@ class Supplier extends SnipeModel
|
||||
'notes' => 'max:255|nullable',
|
||||
'email' => 'email|max:150|nullable',
|
||||
'zip' => 'max:10|nullable',
|
||||
'url' => 'url|nullable',
|
||||
'url' => 'sometimes|nullable|string|max:250',
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user