Package
v4.x
Description
Currently we want to change how the file will be displayed.
example
<UFileUpload multiple layout>
<template #file={file, index}>
<div class="w-full">{{file}}</div>
<button @click="removeFile(index)"></button>
</template>
</UFileUpload>
So currently file slot only passed the file and index
but we need also the removeFile, for us to able to remove the file, where in the current code, the file removing is also part of the file slot.
Additional context
No response
Package
v4.x
Description
Currently we want to change how the file will be displayed.
example
So currently file slot only passed the file and index
but we need also the removeFile, for us to able to remove the file, where in the current code, the file removing is also part of the file slot.
Additional context
No response