git commit "complete province and city management with ajax"

This commit is contained in:
2026-08-19 18:56:35 +03:30
parent 3f46f6356a
commit 8872473e8d
13 changed files with 1071 additions and 72 deletions
+10 -2
View File
@@ -12,7 +12,7 @@ class CityStoreRequest extends FormRequest
*/
public function authorize(): bool
{
return false;
return true;
}
/**
@@ -23,7 +23,15 @@ class CityStoreRequest extends FormRequest
public function rules(): array
{
return [
//
'province_id'=>['required'],
'name'=>[
'required',
'string',
'max:255'
]
];
}
}