FEATURE: make adding custom fields working
This commit is contained in:
@@ -13,9 +13,9 @@ class NewCustomFieldRequest extends Request
|
||||
{
|
||||
return [
|
||||
'name' => 'required',
|
||||
'type' => 'required|exists:custom_field_types',
|
||||
'type' => 'required|exists:custom_field_types,id',
|
||||
'minLength' => 'numeric|min:0',
|
||||
'maxLength' => 'numeric|mix:0'
|
||||
'maxLength' => 'numeric|min:0',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user