Minor: Remove unnecessary style class for BaseInputText vue component

pull/5202/head
Angel Fernando Quiroz Campos 9 months ago
parent b115e3c81b
commit 982c3d3c06
  1. 11
      assets/vue/components/basecomponents/BaseInputText.vue

@ -5,7 +5,6 @@
:id="id"
:model-value="modelValue"
:class="{ 'p-invalid': isInvalid }"
class="border-primary-gradient hover:border-primary focus:ring-primary"
:aria-label="label"
type="text"
@update:model-value="$emit('update:modelValue', $event)"
@ -18,13 +17,17 @@
/>
</div>
<slot name="errors">
<small v-if="isInvalid" v-t="errorText" class="p-error" />
<small
v-if="isInvalid"
v-t="errorText"
class="p-error"
/>
</slot>
</div>
</template>
<script setup>
import InputText from "primevue/inputtext";
import InputText from "primevue/inputtext"
const props = defineProps({
id: {
@ -51,7 +54,7 @@ const props = defineProps({
required: false,
default: false,
},
});
})
defineEmits(["update:modelValue"])
</script>

Loading…
Cancel
Save