FEATURE: make adding custom fields working

This commit is contained in:
Michal Kváček
2016-01-26 22:44:15 +01:00
parent fedb5abae6
commit 271f27be0b
5 changed files with 77 additions and 28 deletions
+2 -2
View File
@@ -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',
];
}
}