Skip to content

Commit 63ec87b

Browse files
committed
Add password input type
1 parent 2e0cbb9 commit 63ec87b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/api-request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ export default class ApiRequest extends LitElement {
384384
`
385385
: html`<input
386386
spellcheck="false"
387-
type="${fieldSchema.format === 'binary' ? 'file' : 'text'}"
387+
type="${fieldSchema.format === 'binary' ? 'file' : fieldSchema.format === 'password' ? 'password' : 'text'}"
388388
style="width:160px"
389389
class="request-form-param"
390390
data-pname="${fieldName}"

0 commit comments

Comments
 (0)