Merge pull request #4253 from erickgamer787/fix-SensitiveInput-for-admin-pages

fix: Fix the SensitiveInput  the browser thought it was a password field
This commit is contained in:
Timothy Jaeryang Baek authored and GitHub committed 2024-08-01 21:43:42 +02:00
commit ef36b21684
2 files changed
+6 -2

No files matched your search

@@ -13,13 +13,13 @@
<div class={outerClassName}>
<input
class={inputClassName}
class={`${inputClassName} ${show ? '' : 'password'}`}
{placeholder}
bind:value
required={required && !readOnly}
disabled={readOnly}
autocomplete="off"
{...{ type: show ? 'text' : 'password' }}
type="text"
/>
<button
class={showButtonClassName}