Fixed the mixin

This commit is contained in:
Julien Nahum 2023-11-17 12:56:12 +01:00
parent 0e8765509a
commit ee4cb7a0d3
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
</div>
<div v-else key="placeholder">
<slot name="placeholder">
<div class="text-gray-400 dark:text-gray-500 w-full text-left"
<div class="text-gray-400 dark:text-gray-500 w-full text-left truncate pr-3"
:class="{'py-1': multiple && !loading}"
>
{{ placeholder }}

View File

@ -6,7 +6,7 @@ export const inputProps = {
name: { type: String, required: true },
label: { type: String, required: false },
form: { type: Object, required: false },
value: { required: false },
modelValue: { required: false },
required: { type: Boolean, default: false },
disabled: { type: Boolean, default: false },
placeholder: { type: String, default: null },