Skip to content

Commit

Permalink
fix(forms): hide edge built-in password handler [KM-502] (#1672)
Browse files Browse the repository at this point in the history
  • Loading branch information
TT1228 authored Sep 27, 2024
1 parent e620a14 commit d0fd6a8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/core/forms/sandbox/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,20 @@
"order": 0,
"disabled": false
},
{
"label": "Secrets",
"type": "input",
"submitWhenNull": true,
"inputType": "password",
"valueType": "array",
"valueArrayType": "string",
"placeholder": "Enter a secret",
"help": "Secrets saved in this route",
"id": "secrets",
"model": "secrets",
"order": 0,
"disabled": false
},
{
"type": "array",
"showRemoveButton": false,
Expand Down
4 changes: 4 additions & 0 deletions packages/core/forms/src/components/fields/FieldInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -267,5 +267,9 @@ onBeforeMount((): void => {
:deep(input[type="range"]) {
padding: $kui-space-0;
}
:deep(input[type="password"]::-ms-reveal) {
display: none;
}
}
</style>

0 comments on commit d0fd6a8

Please sign in to comment.