mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
URL nullable validation isn’t working in Laravel 5.4?
This commit is contained in:
parent
abe19a6311
commit
afc8133acf
|
@ -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',
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue