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:
authorHamidreza Ghavami <hamid.r.gh.1998@gmail.com>2023-05-04 19:57:42 +0300
committerHamidreza Ghavami <hamid.r.gh.1998@gmail.com>2023-05-04 19:57:42 +0300
commita18cbdcf11bdc2b19c0fd6cf2aa16bc00b3b9971 (patch)
treeca1b12d575886177d415b21dd08b20c767d13408 /web/html/xui/component
parent4f8de18d1f21518b98aba82cbf14d2d23c0c178c (diff)
changed number input tags to 'a-input-number'
Diffstat (limited to 'web/html/xui/component')
-rw-r--r--web/html/xui/component/setting.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/xui/component/setting.html b/web/html/xui/component/setting.html
index 00eeb259..efd61684 100644
--- a/web/html/xui/component/setting.html
+++ b/web/html/xui/component/setting.html
@@ -9,7 +9,7 @@
<a-input :value="value" @input="$emit('input', $event.target.value)"></a-input>
</template>
<template v-else-if="type === 'number'">
- <a-input type="number" :value="value" @input="$emit('input', $event.target.value)" :min="min"></a-input>
+ <a-input-number :value="value" @change="value => $emit('input', value)" :min="min" style="width: 100%;"></a-input-number>
</template>
<template v-else-if="type === 'textarea'">
<a-textarea :value="value" @input="$emit('input', $event.target.value)" :auto-size="{ minRows: 10, maxRows: 10 }"></a-textarea>