FIX_VALIDATION_ISSUE
This commit is contained in:
parent
8268515ca7
commit
397fea6ae7
@ -1004,7 +1004,7 @@ class ClientController extends AdminController
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
'short_name' => [
|
'short_name' => [
|
||||||
'rules' => 'required|regex_match[/^[a-zA-Z0-9_-]+$/]|min_length[2]|max_length[15]',
|
'rules' => 'required|regex_match[/^[a-zA-Z0-9_\- ]+$/]|min_length[2]|max_length[15]',
|
||||||
'errors' => [
|
'errors' => [
|
||||||
'required' => 'Client Short Name is required',
|
'required' => 'Client Short Name is required',
|
||||||
'regex_match' => 'Client Short Name can only contain letters, numbers, hyphens and underscores.',
|
'regex_match' => 'Client Short Name can only contain letters, numbers, hyphens and underscores.',
|
||||||
@ -1119,7 +1119,7 @@ class ClientController extends AdminController
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
'short_name' => [
|
'short_name' => [
|
||||||
'rules' => 'required|regex_match[/^[a-zA-Z0-9_-]+$/]',
|
'rules' => 'required|regex_match[/^[a-zA-Z0-9_\- ]+$/]|min_length[2]|max_length[15]',
|
||||||
'errors' => [
|
'errors' => [
|
||||||
'required' => 'Client Short Name is required',
|
'required' => 'Client Short Name is required',
|
||||||
'regex_match' => 'Client Short Name can only contain letters, numbers, hyphens and underscores.',
|
'regex_match' => 'Client Short Name can only contain letters, numbers, hyphens and underscores.',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user