- add OnBlur to Field and Select

- update regex to remove dot for jwtttl
This commit is contained in:
Shemy Gan committed 2024-10-23 13:18:00 -04:00
1 parent f707965155
commit 6425113766
4 files changed
+27 -6

No files matched your search

+1 -1
View File
@@ -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(