Merge "Fix on max label value"
This commit is contained in:
commit
b0bf0d7bee
|
@ -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',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue