fix(gui): miscellaneous ui fixes and improvement

Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
Pranav C
2022-11-20 15:59:26 +05:30
parent 1835641f2c
commit 2fab4c4632
10 changed files with 71 additions and 68 deletions

View File

@@ -1,4 +1,5 @@
<script setup lang="ts">
import type { Input } from 'ant-design-vue'
import {
Form,
computed,
@@ -133,6 +134,10 @@ const clickInviteMore = () => {
usersData.role = ProjectRole.Viewer
usersData.emails = undefined
}
const emailField = (inputEl: typeof Input) => {
inputEl?.$el?.focus()
}
</script>
<template>
@@ -222,6 +227,7 @@ const clickInviteMore = () => {
<div class="ml-1 mb-1 text-xs text-gray-500">{{ $t('datatype.Email') }}:</div>
<a-input
:ref="emailField"
v-model:value="usersData.emails"
validate-trigger="onBlur"
:placeholder="$t('labels.email')"