Fixed the mixin
This commit is contained in:
parent
0e8765509a
commit
ee4cb7a0d3
|
@ -15,7 +15,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div v-else key="placeholder">
|
<div v-else key="placeholder">
|
||||||
<slot name="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}"
|
:class="{'py-1': multiple && !loading}"
|
||||||
>
|
>
|
||||||
{{ placeholder }}
|
{{ placeholder }}
|
||||||
|
|
|
@ -6,7 +6,7 @@ export const inputProps = {
|
||||||
name: { type: String, required: true },
|
name: { type: String, required: true },
|
||||||
label: { type: String, required: false },
|
label: { type: String, required: false },
|
||||||
form: { type: Object, required: false },
|
form: { type: Object, required: false },
|
||||||
value: { required: false },
|
modelValue: { required: false },
|
||||||
required: { type: Boolean, default: false },
|
required: { type: Boolean, default: false },
|
||||||
disabled: { type: Boolean, default: false },
|
disabled: { type: Boolean, default: false },
|
||||||
placeholder: { type: String, default: null },
|
placeholder: { type: String, default: null },
|
||||||
|
|
Loading…
Reference in New Issue