Open nesymno opened 6 years ago
Can you give sample code?
{{ bs()->formGroup(bs()->text('seo[keywords]'))->label('Keywords')->addClass('col-12') }}
I'm opening form, bind model. All data good, except relations. I just add value by myself, but it would be great if relations will fill automatically.
Will have a look.
In the meantime, how about using the functions to set default values manually?
->default($post->seo->keywords)
@vpratfr yes of course.
Hey! How to bind model with relations? Like... I have post and have seo info for it. So, when I bind model, it works ok, but inputs with relations always null... And validation errors don't show on relation inputs.