Flux version
2.14
Livewire version
4.3.0
Tailwind version
4.2.0
Browser and Operating System
chrome/macos
What is the problem?
Some of the flux components can be used outside a livewire component.
But flux::select wont respect a default value to keep the selected...like this edgecase
The B option should be the default option..
If for example a GET page with ?option=B
The option A is selected as default
Code snippets to replicate the problem
//pseudo code
<flux::select> <flux::select-option value=A >option A</flux::select-option> <flux::select-option value=B selected>option B</flux::select-option> </flux::select>
Screenshots/ screen recordings of the problem
not have
How do you expect it to work?
//pseudo code
<flux::select> <flux::select-option value=A >option A</flux::select-option> <flux::select-option value=B selected>option B</flux::select-option> </flux::select>
optoon B to be selected
Please confirm (incomplete submissions will not be addressed)
Flux version
2.14
Livewire version
4.3.0
Tailwind version
4.2.0
Browser and Operating System
chrome/macos
What is the problem?
Some of the flux components can be used outside a livewire component.
But flux::select wont respect a default value to keep the selected...like this edgecase
The B option should be the default option..
If for example a GET page with ?option=B
The option A is selected as default
Code snippets to replicate the problem
//pseudo code
<flux::select> <flux::select-option value=A >option A</flux::select-option> <flux::select-option value=B selected>option B</flux::select-option> </flux::select>Screenshots/ screen recordings of the problem
not have
How do you expect it to work?
//pseudo code
<flux::select> <flux::select-option value=A >option A</flux::select-option> <flux::select-option value=B selected>option B</flux::select-option> </flux::select>optoon B to be selected
Please confirm (incomplete submissions will not be addressed)