Closed yangsystem closed 6 days ago
@yangsystem Copying your exact code, I do not get a comma. Have you checked the far-right section of each line of your code? Maybe there is a stray comma at the end of one of the lines.
Or maybe you published the Flux select component and edited the list box variant file? (flux\select\variants\listbox.blade.php
)
Nope, I tend to not publish anything.(just use them as is.) And yes the code is copy paste from my test file.
I have php 8.3.6 (should no matter) chrome 131.0.6778.70 (should no matter) / edge 131.0.2903.48 (should no matter) laravel/framework 11.32 livewire/flux-pro 1.0.23 livewire/livewire 3.5.12
as you can see the comma appears only to the variant="listbox" with or without searchable
@yangsystem I see it in your screenshot (the comma), but when I copy/paste your code example, I do not get a comma in my test app in either of the selects.
I have just published the component
php artisan flux:publish
and selected select
and the comma disappeared, then I deleted the published files reloaded the page and the comma appeared.
@yangsystem Strange...
Did you run php artisan view:clear
then npm run build
after deleting the published files?
php artisan view:clear
Fixed the problem.
10Q
Latest flux, latest livewire, tailwind from cdn.