mirror of
https://github.com/open-webui/open-webui.git
synced 2026-01-04 23:55:22 +00:00
the fix for the issue where chrome thought the SensitiveInput input was a password field
This commit is contained in:
parent
7a80e732df
commit
3569fe9c73
1 changed files with 8 additions and 1 deletions
|
|
@ -14,12 +14,13 @@
|
|||
<div class={outerClassName}>
|
||||
<input
|
||||
class={inputClassName}
|
||||
class:dot={!show}
|
||||
{placeholder}
|
||||
bind:value
|
||||
required={required && !readOnly}
|
||||
disabled={readOnly}
|
||||
autocomplete="off"
|
||||
{...{ type: show ? 'text' : 'password' }}
|
||||
type="text"
|
||||
/>
|
||||
<button
|
||||
class={showButtonClassName}
|
||||
|
|
@ -61,3 +62,9 @@
|
|||
{/if}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.dot {
|
||||
-webkit-text-security: disc;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in a new issue