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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user