dorsetdigital

I knew it had to be me being stupid. Late night coding is seldom a good idea 🤔

dorsetdigital

Virtually identical code works as expected in ModelAdmin

andante

then isnt it explictily attached to that page?

dorsetdigital

It's got to be something I've missed. The object is edited via a gridfield attached to a page

dorsetdigital

OK, can anyone see the stupid thing I've done which would be causing the page select to be readonly?

https://gist.github.com/DorsetDigital/6ac5f7c4f87612f8026bac98291ca003

andante

theres also an extension hook for updateInit here https://github.com/plastyk/silverstripe-dashboard/blob/master/src/Admin/DashboardAdmin.php#L35 if you need it

Show 1 attachment(s)
GitHub  
plastyk/silverstripe-dashboard

Extendable dashboard for SilverStripe. Contribute to plastyk/silverstripe-dashboard development by creating an account on GitHub.

Hide attachment content
👍 (1)