How to use radio button to make modal open?

What seems to be the problem: Hi, is there a solution on how to use the radio button to make the modal open?

Steps to Reproduce:

Are you using the latest version of Livewire:

Do you have any screenshots or code examples:

Hey, @Lawren

Check for the value of the radio button. for example:

<input type="radio" wire:model="checkModal"/>

@if($openModal)
   you modal here
@endif

and in your component:

....
public $checkModal = false;
public $openModal = false;

public function updatedCheckModal($field)
{
  $this->openModal = $this->checkModal; // return true or false
}

ill try this sir, thank you for your response!

You are very welcome :slight_smile: