Change input rule

This commit is contained in:
Alex 2021-02-22 15:47:34 +02:00 committed by GitHub
parent 42aae1d9f1
commit d0afb29ae8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,7 +121,7 @@
"default_value": "CHANGEME",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:64"
"rules": "required|regex:\/^[a-zA-Z0-9_.-]*$\/|max:64"
},
{
"name": "Save Interval",
@ -160,4 +160,4 @@
"rules": "nullable|url"
}
]
}
}