mirror of
https://github.com/getgrav/grav.git
synced 2026-03-22 04:21:37 +01:00
Fix https://github.com/getgrav/grav-plugin-admin/issues/891 Add pattern for frontend validation of folder slugs
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
1. [](#bugfix)
|
||||
* Fixed case where extracting a package would cause an error during rename
|
||||
* Fix issue with using Yaml::parse direcly on a filename, now deprecated
|
||||
* Fix [#891](https://github.com/getgrav/grav-plugin-admin/issues/891) Add pattern for frontend validation of folder slugs
|
||||
|
||||
# v1.1.9
|
||||
## 12/13/2016
|
||||
|
||||
@@ -133,6 +133,7 @@ form:
|
||||
label: PLUGIN_ADMIN.FOLDER_NAME
|
||||
validate:
|
||||
type: slug
|
||||
pattern: '[a-zа-я][a-zа-я0-9_\-]+'
|
||||
|
||||
route:
|
||||
type: select
|
||||
|
||||
@@ -24,6 +24,7 @@ form:
|
||||
validate:
|
||||
type: slug
|
||||
required: true
|
||||
pattern: '[a-zа-я][a-zа-я0-9_\-]+'
|
||||
|
||||
route:
|
||||
type: select
|
||||
|
||||
@@ -73,6 +73,7 @@ form:
|
||||
validate:
|
||||
type: slug
|
||||
required: true
|
||||
pattern: '[a-zа-я][a-zа-я0-9_\-]+'
|
||||
|
||||
route:
|
||||
type: select
|
||||
|
||||
@@ -26,6 +26,7 @@ form:
|
||||
validate:
|
||||
type: slug
|
||||
required: true
|
||||
pattern: '[a-zа-я][a-zа-я0-9_\-]+'
|
||||
|
||||
route:
|
||||
type: select
|
||||
|
||||
@@ -19,6 +19,7 @@ form:
|
||||
validate:
|
||||
type: slug
|
||||
required: true
|
||||
pattern: '[a-zа-я][a-zа-я0-9_\-]+'
|
||||
|
||||
route:
|
||||
type: select
|
||||
|
||||
@@ -73,6 +73,7 @@ form:
|
||||
validate:
|
||||
type: slug
|
||||
required: true
|
||||
pattern: '[a-zа-я][a-zа-я0-9_\-]+'
|
||||
|
||||
route:
|
||||
type: select
|
||||
|
||||
Reference in New Issue
Block a user