livewire / flux

The official Livewire UI component library
https://fluxui.dev
494 stars 41 forks source link

Input for file uploads displays incorrectly in light mode. #731

Closed maparfitt closed 3 days ago

maparfitt commented 5 days ago

The input with file="type" displays incorrectly in light mode, I think. It shows the browser's default "browse" button instead of the "Choose file" text shown in the docs.

Image #

jeffchown commented 5 days ago

@maparfitt When I copy/paste your code, I get what matches the docs:

Image

Have you followed the Flux installation instructions and run npm run build?

maparfitt commented 5 days ago

Yes, I’ve run npm run build. Well, it’s probably not a bug on your end if you’re getting what the docs mention. Must be something on my end, so I’ll figure it out.

Thanks for getting back to me so quickly — on a Saturday! -- Matt

On Nov 24, 2024, at 8:05 AM, Jeff Chown @.***> wrote:

@maparfitthttps://github.com/maparfitt When I copy/paste your code, I get what matches the docs:

@.*** (view on web)https://github.com/user-attachments/assets/2d5f9a84-7228-44e2-be68-71a8de2d5926

Have you followed the Flux instructions and run npm run build?

— Reply to this email directly, view it on GitHubhttps://github.com/livewire/flux/issues/731#issuecomment-2495989070, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABMMCOIID6VJMYIQUABOYVL2CHFKHAVCNFSM6AAAAABSMGD6ISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVHE4DSMBXGA. You are receiving this because you were mentioned.Message ID: @.***>

Kh4os-afk commented 5 days ago

It only worked for me after running Npm run build

But I don't think that's a problem....

calebporzio commented 3 days ago

yeah, maybe you have already published the input/index.blade.php view? Closing this, thanks