URL nullable validation isn’t working in Laravel 5.4?

This commit is contained in:
snipe
2017-10-01 14:40:13 -07:00
parent abe19a6311
commit afc8133acf
+1 -1
View File
@@ -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',
);
/**