mirror of
https://github.com/dzeiocom/FormManager.git
synced 2025-04-23 19:32:14 +00:00
Fix Autoset problem on names containing _
or -
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
49469191e2
commit
78a38edaeb
@ -34,7 +34,7 @@ extends AttributeAbstract {
|
||||
}
|
||||
|
||||
private normal(str: string) {
|
||||
const regexp = new RegExp("{([a-zA-Z0-9]+)}")
|
||||
const regexp = new RegExp("{([a-zA-Z0-9_-]+)}")
|
||||
let loopMax = 0
|
||||
while (regexp.test(str) && loopMax++ < 10) {
|
||||
const el = regexp.exec(str || "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user