fix: increase postcode field max length to allow city/town names

This commit is contained in:
Ovidiu U
2026-04-05 20:43:33 +01:00
parent f05a617af0
commit a11f0ba186

View File

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