kdion4891 / laravel-livewire-forms

A dynamic, responsive Laravel Livewire form component with realtime validation, file uploads, array fields, and more.
243 stars 54 forks source link

Question: How to pass values to a control of type view #13

Open rabol opened 4 years ago

rabol commented 4 years ago

I'm trying to use a select2 so I have created a control of type view()

In my main blade I include the component, and I also add the options for the select, but it does not work.

The form component only allow the mount() to use $model, so how do I pass the options ?