bathishig
Checkboxlist relationship with additional column
CheckboxList::make('questions') // Relationship field
->relationship('questions', 'title') // Relationship to
questions
model
->pivotData([
'question_order' => 1
])
when i save data its save question_order is 1 to all pivot table data
Question can i increase it by 1 for each entry?4 replies