lorlab
Repeater with relationship also attempts to save to a column
Hi, I have a repeater in a SurveyStep resource which is correctly saving items to a relationship 'questions', however after saving the form I also get
Column not found: 1054 Unknown column 'questions' in 'field list'
because it is attempting to update survey_steps set
questions = ...
Any ideas why it is doing both?7 replies
AttachAction custom select option labels
Hi! I have an
AttachAction
to attach records with pivot attributes, so I am using the the form()
method to return $action->getRecordSelect()
together with other inputs. I am trying to concatenate getOptionLabelFromRecordUsing($closure)
in order to customise how the select option labels appear but $closure
is not getting called... is there a way to achieve this? Thanks!2 replies