Skip to content

Radio group and Select Input invalid parameter not working #2265

@alecsyc

Description

@alecsyc

Flux version

v2.10.2

Livewire version

v3.7.3

Tailwind version

v4.0.7

Browser and Operating System

Edge, Firefox

What is the problem?

I am using fluxui-pro and I have an issue with with the invalid parameter on flux:select.input and flux:radio.group. The invalid border is not coming out, only the error message. (the normal inputs are working fine)

Initialy on version Fluxui v2.9.2 and laravel v12.43.1 the flux:select.input was working fine but not the flux:radio.group, so i did an upgrade to last version of composer and npm packages and now even the flux:select.input is not working anymore.

Thank you

Code snippets to replicate the problem

<flux:select 
    wire:model.live="city" 
    flux:model="city"
    variant="combobox" 
    :filter="false"
    :label="__('City')"
>   
    <x-slot name="input">
        <flux:select.input wire:model.live="search" clearable :invalid="true" />
    </x-slot>

    @foreach ($this->cities as $city)
        <flux:select.option value="{{ $city['name'] }} ({{$city['province_code']}})" wire:key="{{ $city['id'] }}" >
            {{ $city['name'] }}
        </flux:select.option>
    @endforeach
</flux:select>


<flux:radio.group wire:model="purpose_id" :label="__('Purpose')" variant="cards" :indicator="false" :invalid="true" class="max-sm:flex-col flex-wrap">
    @foreach ($this->purposes as $purpose)
        <flux:radio :value="$purpose->id" icon="truck" :label="__($purpose->name)" description="" class="min-w-xs" />          
    @endforeach
</flux:radio.group>

Screenshots/ screen recordings of the problem

Select input
Image

Radio group
Image

How do you expect it to work?

See the invalid border

Image

Please confirm (incomplete submissions will not be addressed)

  • I have provided easy and step-by-step instructions to reproduce the bug.
  • I have provided code samples as text and NOT images.
  • I understand my bug report will be closed if I haven't met the criteria above.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions