- add OnBlur to Field and Select
- update regex to remove dot for jwtttl
This commit is contained in:
1 parent
f707965155
commit
6425113766
4 files changed
+27
-6
No files matched your search
@@ -147,7 +147,7 @@ const advancedSettingsValidation = joi.object({
|
||||
.custom((value, helpers) => {
|
||||
// test against regx start with a number followed by number or .,
|
||||
//ends with d or h
|
||||
const regex = /^[1-9]+\d*(.)*(d|h)$/;
|
||||
const regex = /^[1-9]+\d*(d|h)$/;
|
||||
const found = value.match(regex);
|
||||
if (!found) {
|
||||
return helpers.message(
|
||||
|
||||
Reference in new issue
Block a user