autocapitalization does not work as expected?

So i have set the “autocapitalize”-option to true.

Is there more i have to do, to get autocapitalization to work?
Or when should it autocapitalize by default?

I have seen there is a string and object mode of the editor, i’m passing it a string so it should be in string-mode. Idk if that does matter or not?

Can’t give an example of my code, but basically i just have an editor with some options activated and that’s it

So i found out that Codemirror sets the “autocapitilization”-attribute of the textarea to “true” but that’s not a valid value so it probably is interpreted as it wouldn’t be there. Also as i have read autocapitalization is mostly only for mobile devices and now desktop browsers/keyboards