Message of the day:
Welcome. Latest release: https://www.silverstripe.org/download Community Forum: https://forum.silverstripe.org Features: https://forum.silverstripe.org/c/feature-ideas Archive: https://slackarchive.silverstripe.org
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
Archive temporarily at https://archive.codingplayground.nl (redirect)
I've found this https://docs.silverstripe.org/en/4/developer_guides/forms/field_types/gridfield/#many-many-extrafields but it doesn't seem to work (the form is loaded, but the additional fields of the relationship object aren't populated)
are there any guides on managing many_many_through relationships in ModelAdmin? How do I expose/edit the additional data?
No I think that's a bug @alt
I've got a check for
validate() and it's triggering every time even when it's not changed
is it expected that saving an item with modeladmin marks things as changed when they're still set the same?
$form->makeReadonly() happens in
But the button is still being disabled
- public function ItemEditForm()
- $form = parent::ItemEditForm();
- $actions = $form->Actions();
- FormAction::create('doSomething', 'Some Button')
- return $form;