lerni

$CheckboxSetField->setDefaultItems(array_keys($srcArray));

lerni

https://github.com/silverstripe/silverstripe-framework/issues/7955

Show 1 attachment(s)
JorisDebonnet

Affected Version

4.1.0

Description

I am using silverstripe/blog, and notice that I do not get a dialog to fill in the PublishDate. The input uses type datetime-local, but this is not supported in Firefox (it's only supported in Chrome and Edge). The input says "03/26/2018 3:01 AM", and I can in fact update it if I use the same format, but that's not a native format to me, so I'm not sure where it's coming from. Perhaps it is a fallback mechanism using php interpretation?

I do notice that it has a hidden field which stores the actual PublishDate, and another field that is visible, so I guess there's javascript going on as well. So my suggestion is to check for browser support for datetime(-local), and if it's not there, separate the date and time into two inputs, and merge them together into the hidden input.

Any case, right now, it is a confusing experience.

Hide attachment content
lerni

yes, looks as the log example config errors with 4.4.1 but not with 4.3.x. May I create an issue - can anybody confirm the error?

lerni

...and I think it didn't with 4.3.x - leme check...

lerni

I do not see trough 😞 It just is, that as soon as this .errorhandler is in, I get a fatal - quotes unfortunately do not help 😞