Change input rule
This commit is contained in:
parent
42aae1d9f1
commit
d0afb29ae8
|
@ -121,7 +121,7 @@
|
||||||
"default_value": "CHANGEME",
|
"default_value": "CHANGEME",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
"user_editable": true,
|
"user_editable": true,
|
||||||
"rules": "required|string|max:64"
|
"rules": "required|regex:\/^[a-zA-Z0-9_.-]*$\/|max:64"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Save Interval",
|
"name": "Save Interval",
|
||||||
|
@ -160,4 +160,4 @@
|
||||||
"rules": "nullable|url"
|
"rules": "nullable|url"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue