From dbca869df1d86e29a8c6ae137f350904e70db25e Mon Sep 17 00:00:00 2001 From: PEIWEN JIN Date: Thu, 21 Nov 2024 11:31:16 +0100 Subject: [PATCH] wis2box-webapp dataset editor: auto-lowercase centre-id --- src/components/DatasetEditorForm.vue | 39 +++++++++++++--------------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/src/components/DatasetEditorForm.vue b/src/components/DatasetEditorForm.vue index 2506dc1..ffde734 100644 --- a/src/components/DatasetEditorForm.vue +++ b/src/components/DatasetEditorForm.vue @@ -25,8 +25,7 @@ + label="Centre ID" :rules="[rules.centreID]" variant="outlined" @update:modelValue="convertToLowercase"> + :append-icon="showToken ? 'mdi-eye' : 'mdi-eye-off'" :type="showToken ? 'text' : 'password'" autocomplete="one-time-code" + @click:append="showToken = !showToken" :rules="[rules.token]" variant="outlined"> @@ -117,12 +115,14 @@ + v-model="model.identification.identifier" + readonly variant="outlined"> - - - mdi-content-copy + + + mdi-content-copy @@ -215,7 +215,8 @@ + v-model="model.extents.resolutionUnit" + variant="outlined" clearable> @@ -395,9 +396,8 @@ + :append-icon="showToken ? 'mdi-eye' : 'mdi-eye-off'" :type="showToken ? 'text' : 'password'" autocomplete="one-time-code" + @click:append="showToken = !showToken" :rules="[rules.token]" variant="outlined"> @@ -508,8 +508,7 @@

End Date: The date in UTC when the dataset ends.


-

Temporal Resolution (optional): The smallest increment of time that is represented in - the +

Temporal Resolution (optional): The smallest increment of time that is represented in the dataset.

This is split into two parts, the value (e.g. 1) and the unit (e.g. @@ -651,8 +650,7 @@ {{ message }} - + OK @@ -724,8 +722,7 @@ + item-title="title" item-value="id" variant="outlined" :disabled="!pluginIsNew"> ({ id: item, title: getTitleOf(item) }));