Message of the day:
SS4.3.1 security release is out - https://www.silverstripe.org/blog/high-severity-security-issue-cve-2019-5715/
SilverStripe 4 related information and questions.
@Andreas Lindahl yes it's showing as
And if you view the Status column in your database it's empty?
Weirdly the correct value is showing up in the preview mode of the CMS dashboard, but not when I view the page via the main URL
In the CMS? Yes they are populating correctly.
ensure the fields have content I guess (in the HTML - the options are as you expect)
Oh, yeah it is.
Am I missing something?
@nightjarnz is that not how I have it above? E.g. it's
Status in the
$db and then I have
when creating field.
- ... new OptionsetField( $name = "Status", ...
Should happen automatically.
Name (not title) the field the same as the field on the model you're wanting to write into.