Merge "Fix on max label value"

This commit is contained in:
Zuul 2021-06-03 19:21:49 +00:00 committed by Gerrit Code Review
commit b0bf0d7bee
1 changed files with 4 additions and 4 deletions

View File

@ -28,15 +28,15 @@ final class ExtraQuestionTypeValueValidationRulesFactory
if($update){
return [
'label' => 'sometimes|string|max:255',
'value' => 'sometimes|string',
'label' => 'sometimes|string',
'value' => 'sometimes|string|max:255',
'order' => 'sometimes|integer|min:1'
];
}
return [
'label' => 'sometimes|string|max:255',
'value' => 'required|string',
'label' => 'sometimes|string',
'value' => 'required|string|max:255',
];
}
}