feature: Password type (no validation) (#340)

This commit is contained in:
James Read
2024-07-01 09:31:53 +01:00
committed by GitHub
parent fb972fae55
commit 943b4c75aa
2 changed files with 19 additions and 11 deletions

View File

@@ -130,6 +130,9 @@ class ArgumentForm extends window.HTMLElement {
domEl = document.createElement('input')
domEl.setAttribute('type', 'datetime-local')
domEl.setAttribute('step', '1')
} else if (arg.type === 'password') {
domEl = document.createElement('input')
domEl.setAttribute('type', 'password')
} else {
domEl = document.createElement('input')