This commit is contained in:
philipp lang 2024-02-29 00:15:56 +01:00
parent 8ae4a4639c
commit c34d79caef
1 changed files with 3 additions and 9 deletions

View File

@ -1,19 +1,13 @@
<template>
<label class="w-full border border-solid border-gray-500 focus-within:border-primary rounded-lg relative flex">
<input
:id="innerId"
v-model="inner"
:name="field.key"
type="text"
placeholder=""
class="bg-white rounded-lg focus:outline-none text-gray-600 text-left py-1 px-2 @sm:py-2 text-sm @sm:text-base @sm:px-3 w-full"
/>
<input :id="innerId" v-model="inner" :name="field.key" type="text" placeholder=""
class="bg-white rounded-lg focus:outline-none text-gray-600 text-left py-1 px-2 @sm:py-2 text-sm @sm:text-base @sm:px-3 w-full" />
<field-label :name="field.name" :required="field.required"></field-label>
</label>
</template>
<script setup>
import {computed} from 'vue';
import { computed } from 'vue';
import FieldLabel from '../FieldLabel.vue';
const emit = defineEmits(['update:modelValue']);