feature: Add support for raw textboxes #490

This commit is contained in:
jamesread 2025-02-19 01:31:41 +00:00 committed by James Read
parent 2fc7c23416
commit 12f87ca6e1
2 changed files with 5 additions and 0 deletions

View File

@ -144,6 +144,8 @@ func TypeSafetyCheck(name string, value string, argumentType string) error {
switch argumentType {
case "password":
return nil
case "raw_string_multiline":
return nil
case "email":
return typeSafetyCheckEmail(name, value)
case "url":

View File

@ -132,6 +132,9 @@ class ArgumentForm extends window.HTMLElement {
domEl.disabled = true
}
break
case 'raw_string_multiline':
domEl = document.createElement('textarea')
break
case 'datetime':
domEl = document.createElement('input')
domEl.setAttribute('type', 'datetime-local')