Skip to content

Commit d969b9c

Browse files
authored
Merge pull request #147 from amerej/add-password-type-input
Add password input type
2 parents 2e0cbb9 + 63ec87b commit d969b9c

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)