fix: modals inputs not working properly

This commit is contained in:
Andrew Bastin
2023-08-22 00:17:03 +05:30
parent 5a91fb53b2
commit b32b0f9bcb
13 changed files with 15 additions and 15 deletions

View File

@@ -7,7 +7,7 @@
>
<template #body>
<HoppSmartInput
v-model="name"
v-model="editingName"
placeholder=" "
:label="t('action.label')"
input-styles="floating-input"

View File

@@ -7,7 +7,7 @@
>
<template #body>
<HoppSmartInput
v-model="name"
v-model="editingName"
placeholder=" "
input-styles="floating-input"
:label="t('action.label')"

View File

@@ -7,7 +7,7 @@
>
<template #body>
<HoppSmartInput
v-model="name"
v-model="editingName"
placeholder=" "
:label="t('action.label')"
input-styles="floating-input"

View File

@@ -7,7 +7,7 @@
>
<template #body>
<HoppSmartInput
v-model="name"
v-model="editingName"
placeholder=" "
input-styles="floating-input"
:label="t('action.label')"

View File

@@ -7,7 +7,7 @@
>
<template #body>
<HoppSmartInput
v-model="name"
v-model="editingName"
placeholder=" "
:label="t('action.label')"
input-styles="floating-input"

View File

@@ -7,7 +7,7 @@
>
<template #body>
<HoppSmartInput
v-model="name"
v-model="editingName"
placeholder=" "
:label="t('action.label')"
input-styles="floating-input"

View File

@@ -7,7 +7,7 @@
>
<template #body>
<HoppSmartInput
v-model="name"
v-model="editingName"
placeholder=" "
:label="t('action.label')"
input-styles="floating-input"

View File

@@ -7,7 +7,7 @@
>
<template #body>
<HoppSmartInput
v-model="name"
v-model="editingName"
placeholder=" "
:label="t('action.label')"
input-styles="floating-input"

View File

@@ -8,7 +8,7 @@
<template #body>
<div class="flex flex-col">
<HoppSmartInput
v-model="name"
v-model="editingName"
placeholder=" "
:label="t('action.label')"
input-styles="floating-input"

View File

@@ -8,7 +8,7 @@
<template #body>
<div class="flex flex-col px-2">
<HoppSmartInput
v-model="name"
v-model="editingName"
placeholder=" "
:input-styles="['floating-input', isViewer && 'opacity-25']"
:label="t('action.label')"

View File

@@ -35,7 +35,7 @@
<div class="relative flex flex-col">
<input
id="selectLabelAdd"
v-model="name"
v-model="editingName"
v-focus
class="input floating-input"
placeholder=" "

View File

@@ -2,7 +2,7 @@
<HoppSmartModal v-if="show" dialog :title="t('team.new')" @close="hideModal">
<template #body>
<HoppSmartInput
v-model="name"
v-model="editingName"
:label="t('action.label')"
placeholder=" "
input-styles="floating-input"

View File

@@ -3,7 +3,7 @@
<template #body>
<div class="flex flex-col">
<HoppSmartInput
v-model="name"
v-model="editingName"
placeholder=" "
:label="t('action.label')"
input-styles="floating-input"
@@ -177,7 +177,7 @@
</template>
<script setup lang="ts">
import { computed, ref, toRef, watch } from "vue"
import { computed, ref, watch } from "vue"
import * as E from "fp-ts/Either"
import {
GetTeamDocument,
@@ -228,7 +228,7 @@ const props = defineProps<{
const toast = useToast()
const editingName = toRef(props.editingTeam, "name")
const editingName = ref(props.editingTeam.name)
watch(
() => props.editingTeam.name,