Answer the question
In order to leave comments, you need to log in
By what principle are model values bound to form fields?
It became interesting ..
The model has a type_id
attribute.
In the view, I bind the model to the form
{{ html()->modelForm($document, 'PATCH', route('admin.docflow.document.update.main', $document->id))->class('form-horizontal')->open() }}
{{ html()->text('type')
->class('form-control')
->attribute('maxlength', 256)
->required() }}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question