olivier_oursblanc
Multi-select in relationship doesn't display values on edit
It's probably a beginner's question, and I apologize for that, but when I use a multi-select type linked to a relationship in Eloquent, I can save the values successfully. However, when I go into editing mode, the field is empty. Thank you in advance for your assistance.
Forms\Components\Select::make('contexts')
->label(__('smartxsp::campaign.edit-contexts'))
->multiple()
->relationship(name: 'contexts', titleAttribute: 'name')
->columnSpan("full"),
11 replies