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){ if($update){
return [ return [
'label' => 'sometimes|string|max:255', 'label' => 'sometimes|string',
'value' => 'sometimes|string', 'value' => 'sometimes|string|max:255',
'order' => 'sometimes|integer|min:1' 'order' => 'sometimes|integer|min:1'
]; ];
} }
return [ return [
'label' => 'sometimes|string|max:255', 'label' => 'sometimes|string',
'value' => 'required|string', 'value' => 'required|string|max:255',
]; ];
} }
} }