From cd933e3990b0e285431a3a3c685e589e8fda19d2 Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Sun, 16 Aug 2020 22:09:26 -0700 Subject: Fix form properties on Firmware page File upload properties were added to the wrong form control, moved browser-text, drop-placeholder and placeholder props from tftp input to workstation file-upload component. Signed-off-by: Yoshie Muranaka Change-Id: I0342870b136b2f89da974410444e46dd5dbb28a1 --- src/views/Configuration/Firmware/Firmware.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/views') diff --git a/src/views/Configuration/Firmware/Firmware.vue b/src/views/Configuration/Firmware/Firmware.vue index 248b0ab2..94070b7d 100644 --- a/src/views/Configuration/Firmware/Firmware.vue +++ b/src/views/Configuration/Firmware/Firmware.vue @@ -125,6 +125,9 @@ v-model="file" accept=".tar" aria-describedby="image-file-help-block" + :browse-text="$t('global.fileUpload.browseText')" + :drop-placeholder="$t('global.fileUpload.dropPlaceholder')" + :placeholder="$t('global.fileUpload.placeholder')" :disabled="isPageDisabled" :state="getValidationState($v.file)" @input="$v.file.$touch()" @@ -145,9 +148,6 @@ id="tftp-id" v-model="tftpIpAddress" type="text" - :browse-text="$t('global.fileUpload.browseText')" - :drop-placeholder="$t('global.fileUpload.dropPlaceholder')" - :placeholder="$t('global.fileUpload.placeholder')" :state="getValidationState($v.tftpIpAddress)" :disabled="isPageDisabled" @input="$v.tftpIpAddress.$touch()" -- cgit v1.2.3