Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/xui/component/password.html')
-rw-r--r--web/html/xui/component/password.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/web/html/xui/component/password.html b/web/html/xui/component/password.html
index 13dbfb51..37e4c793 100644
--- a/web/html/xui/component/password.html
+++ b/web/html/xui/component/password.html
@@ -1,8 +1,10 @@
{{define "component/passwordInput"}}
<template>
<a-input :value="value" :type="showPassword ? 'text' : 'password'"
- :placeholder="placeholder"
- @input="$emit('input', $event.target.value)">
+ :placeholder="placeholder"
+ :autocomplete="autocomplete"
+ :name="name"
+ @input="$emit('input', $event.target.value)">
<template v-if="icon" #prefix>
<a-icon :type="icon" style="font-size: 16px;" />
</template>
@@ -18,7 +20,7 @@
{{define "component/password"}}
<script>
Vue.component('password-input', {
- props: ["title", "value", "placeholder", "icon"],
+ props: ["title", "value", "placeholder", "icon", "autocomplete", "name"],
template: `{{template "component/passwordInput"}}`,
data() {
return {