Closed sunnysideup closed 6 months ago
In the first example, is ClientID in the edit form and being POSTed when you save the record?
Please remove the call to addFieldsToTab()
which at best is adding unnecessary confusion in your reproduction code.
DONE.
You only removed it from one of the two examples. :p I assume also that you've tested it with the new example code?
Please also respond to https://github.com/silverstripe/silverstripe-framework/issues/11042#issuecomment-1803019062
I will gather some more information and see if I can set up example.
I am having a closer look at this, and I will close this ticket and create a new one. I am looking at the difference between SearchableDropdownTrait::setSource
and DropdownField::setSource
.
Affected Version
5
Description
When the code is like this, I can save it fine.
However, when the code is like this:
I can not save the record: