phplaravellivewires

Laravel status population


The approval of user by admin it's not populating options I made use of this

$this->statuses = $this->applicant->accountApplication->statuses()->get(); I am expecting it to populate options to accept or reject applicat


Solution

  • The connection from view to livewire then I added in livewire in form this <option value="accept">Accept</option> <option value="reject">Reject</option> And it populated the options