fix: load cities dynamically based on selected province

This commit is contained in:
2026-08-18 19:36:59 +03:30
parent ea76f658ce
commit cc87514e8f
4 changed files with 68 additions and 32 deletions
@@ -97,12 +97,12 @@ class RegisterPostRequest extends FormRequest
'alpha_num',
'confirmed'
],
'user_province' => [
'province_id' => [
'nullable',
'integer',
'exists:provinces,id'
],
'user_city' => [
'city_id' => [
'nullable',
'integer',
'exists:cities,id'