commented unused code

This commit is contained in:
Sascha Kühl 2025-06-01 17:06:29 +02:00
parent b803e39a5a
commit 16fc36b258
1 changed files with 10 additions and 10 deletions

View File

@ -10,21 +10,21 @@ interface Props {
} }
const props = defineProps<Props>(); // Define props for the component const props = defineProps<Props>(); // Define props for the component
const { value, errorMessage, ...fieldAttrs } = useField(props.name); // Setup field logic using vee-validate // const { value, errorMessage, ...fieldAttrs } = useField(props.name); // Setup field logic using vee-validate
</script> </script>
<template> <template>
<ion-item> <ion-item>
<Field name="name"> <Field name="name">
<IonInput <!-- <IonInput-->
:label="label" <!-- :label="label"-->
:label-placement="labelPlacement || 'stacked'" <!-- :label-placement="labelPlacement || 'stacked'"-->
v-model="value" <!-- v-model="value"-->
v-bind="fieldAttrs" <!-- v-bind="fieldAttrs"-->
:type="type || 'text'" <!-- :type="type || 'text'"-->
> <!-- >-->
<small v-if="errorMessage" class="error-message">{{ errorMessage }}</small> <!-- <small v-if="errorMessage" class="error-message">{{ errorMessage }}</small>-->
</IonInput> <!-- </IonInput>-->
</Field> </Field>
</ion-item> </ion-item>
</template> </template>