From c506fa5ee5588c1f46c695d62841003c6acc7e7e Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Thu, 10 Dec 2020 00:41:25 +0300 Subject: [PATCH] Add placeholder for ip_whitelist input --- .../components/inputComponents/BooleanCombinedInput.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/settings/components/inputComponents/BooleanCombinedInput.vue b/src/views/settings/components/inputComponents/BooleanCombinedInput.vue index b7e90402..e47ade3d 100644 --- a/src/views/settings/components/inputComponents/BooleanCombinedInput.vue +++ b/src/views/settings/components/inputComponents/BooleanCombinedInput.vue @@ -30,6 +30,7 @@ v-for="(item, index) in tupleValue" :value="item" :key="index" + :placeholder="getPlaceholder[index]" class="tuple-input" @input="processTupleTwoTypeValue($event, setting.key, index)"/> @@ -69,6 +70,9 @@ export default { const value = this.data[this.setting.key] return typeof value !== 'boolean' }, + getPlaceholder() { + return { 0: ':basic', 1: 'username', 2: 'password' } + }, integerValue() { const value = this.data[this.setting.key] return value || 0