livewire / flux

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

Simple checkbox component does not react #615

Closed RezaODB closed 6 days ago

RezaODB commented 6 days ago

A very simple checkbox does not react on my form! It works perfectly fine with a non-flux checkbox. Please help! Thanks

CreateQuestion.php

class CreateQuestion extends Component { public $required = false;

public function save()
{
    $validated = $this->validate([ 
        'required' => 'nullable|boolean',
    ]);

}

create-question.blade.php

@csrf Sauvegarder
jeffchown commented 6 days ago

@RezaODB If you are using Flux 1.0.20, this could be a duplicate of https://github.com/livewire/flux/issues/611

RezaODB commented 6 days ago

Yes you are absolutely right, thanx! It's the same issue with the label!

calebporzio commented 6 days ago

Thanks for the report. This has been fixed and will be released shortly