- Pass custom file size to ImageField
- Update getmonitors to match be change (-1 is not accepted as valid param anymore) - Fix Select not updateable
This commit is contained in:
1 parent
ff7fe7f5f2
commit
e8d9f310c1
4 files changed
+11
-7
No files matched your search
@@ -184,7 +184,7 @@ const logoImageValidation = joi.object({
|
||||
.max(800*800)
|
||||
.messages({
|
||||
"number.base": "File size must be a number.",
|
||||
"number.max": "File size must be less than 640000 pixels.",
|
||||
"number.max": "File size must be less than 640KB.",
|
||||
"number.empty": "File size required.",
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user