Open
Description
Module version(s) affected
2.1.17
Description
The $has_one
relation of DataObject
renders in the admin as a dropdown. And if this relation doesn't have some default configured, it shows text Select an Option
, for example, when creating a new instance of the DataObject
class.
The text probably comes from some 3rd party, it doesn't seem to react to the browser language settings. The classes around the dropdown are: chosen-container chosen-container-single chosen-container-single-nosearch
and chosen-single chosen-default
.
Could you help me to identify the said 3rd party library and maybe find a way how to translate it? In the Silverstripe v3 there was no text visible.
How to reproduce
class A extends DataObject {
private static $has_one = array(
'B' => 'B',
);
...
Possible Solution
No response
Additional Context
No response
Validations
- Check that there isn't already an issue that reports the same bug
- Double check that your reproduction steps work in a fresh installation of
silverstripe/installer
(with any code examples you've provided)