mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-15 10:35:45 +00:00
bugfix: Regex validation client side was not running (#254)
This commit is contained in:
@@ -133,7 +133,7 @@ class ArgumentForm extends window.HTMLElement {
|
||||
} else {
|
||||
domEl = document.createElement('input')
|
||||
|
||||
if (arg.type.startsWith(':regex')) {
|
||||
if (arg.type.startsWith('regex:')) {
|
||||
domEl.setAttribute('pattern', arg.type.replace('regex:', ''))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user