Leave a comment

Your email address will not be published. Required fields are marked *

6 thoughts on “Dynamic Cascading Dropdown with Livewire

  • Palak Jadav

    I am getting ErrorException
    Undefined variable: event (View: resources\views\dropdowns.blade.php)
    From where this $event variable came?

    • Mark Post author

      This part of the tutorial imagines that your page is showing the location of a user’s event that they are creating. You have to substitute the name of the model containing the user’s previous choice. My example imagined that you were setting the location of an Event. Your use will be different and must be adapted accordingly.