Open abishekrsrikaanth opened 2 years ago
Thank you. I'll try to add.
Are you sure about the $rules
claims? Can't find what you stated in the documentation at first glance and I am also pretty sure I have forms without rules and model binding still works.
@smares Please refer to the alert here https://laravel-livewire.com/docs/2.x/properties#binding-models after the first example.
Feature Description
First of all, love this plugin. Helps save so much time.
When using this plugin for a Livewire component the suggestions on the
blade.php
doesn't work when mentioningwire:model="field_name"
. Is this possible to read the fields from the$rules
variable on the component and suggest when settingwire:model
on the blade? Model binding of the Livewire component will not work if a field is not mentioned on the$rules
variable, so ideally the suggestions can be made from that variable.