mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-07 02:58:21 +00:00
refac
This commit is contained in:
parent
bc4d6eef33
commit
60ea4214aa
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,7 @@
|
|||
export let showButtonClassName = 'pl-1.5 transition bg-transparent';
|
||||
export let screenReader = true;
|
||||
export let autocomplete = 'off';
|
||||
export let name: string | undefined = undefined;
|
||||
|
||||
let show = false;
|
||||
</script>
|
||||
|
|
@ -27,6 +28,7 @@
|
|||
{placeholder}
|
||||
type={type === 'password' && !show ? 'password' : 'text'}
|
||||
bind:value
|
||||
{name}
|
||||
required={required && !readOnly}
|
||||
disabled={readOnly}
|
||||
{autocomplete}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue