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:
authorHo3ein <ho3ein.sanaei@gmail.com>2023-05-05 00:19:23 +0300
committerGitHub <noreply@github.com>2023-05-05 00:19:23 +0300
commite164c7e7801c2c0a9cae9bc0516f84cdee86672b (patch)
tree8c1cd095b31723d8a16c78c8e65089f841450c37 /web/html/xui/component
parent20bfd71cf18cc60a5e118fc848eb62e49b50906e (diff)
parent481d4beabb2625c51440c734654de24b18d9e1b1 (diff)
Merge pull request #332 from hamid-gh98/main
[Update] sub remark + settings UI
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>