fix: increase postcode field max length to allow city/town names
This commit is contained in:
@@ -15,7 +15,7 @@ class NearbyStationsRequest extends FormRequest
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'postcode' => ['nullable', 'string', 'max:10'],
|
||||
'postcode' => ['nullable', 'string', 'max:100'],
|
||||
'lat' => ['required_without:postcode', 'nullable', 'numeric', 'between:-90,90'],
|
||||
'lng' => ['required_without:postcode', 'nullable', 'numeric', 'between:-180,180'],
|
||||
'fuel_type' => ['required', 'string'],
|
||||
|
||||
Reference in New Issue
Block a user