mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
alova - implementing UpdateState
This commit is contained in:
@@ -90,6 +90,8 @@ export const schedulerItemValidation = () =>
|
||||
new Schema({
|
||||
name: [
|
||||
{
|
||||
// TODO name must be unique - add check
|
||||
required: true,
|
||||
type: 'string',
|
||||
pattern: /^[a-zA-Z0-9_\\.]{0,15}$/,
|
||||
message: "Must be <15 characters: alpha numeric, '_' or '.'"
|
||||
|
||||
Reference in New Issue
Block a user