This repository is designed to help reproduce the bug in Flowbite-Vue where an issue occurs with the file upload component, causing two images to appear in the file upload input when only one is selected.
-
Clone this repository to your local machine:
git clone <your-repo-url>
-
Navigate into the project directory:
cd <your-repo-folder>
-
Install the required dependencies:
npm install
-
Start the development server:
npm run dev
-
Open the application in your browser:
Navigate to http://localhost:5173/.
-
On the page, you’ll see a file upload component.
-
Click the upload icon and select one image file.
-
Observe the behavior: you should see two image files in the file upload input even though only one file was selected.
- The file upload input should show only the selected image file, not duplicate it.
- The file upload input displays two images when only one is selected.