This commit is contained in:
proddy
2024-07-11 11:03:32 +02:00
parent e1ecb78375
commit 3c64693275

View File

@@ -392,8 +392,8 @@ export const temperatureSensorItemValidation = () =>
n: [
{
type: 'string',
pattern: /^[a-zA-Z0-9_\\.]{0,15}$/,
message: "Must be <15 characters: alpha numeric, '_' or '.'"
pattern: /^[a-zA-Z0-9_\\.]{0,17}$/,
message: "Must be <18 characters: alpha numeric, '_' or '.'"
}
]
});