Editor: Stop calendar from opening automatically
Editor: Stop calendar from opening automatically

I'm using DT Editor. Moment.js is loaded.
You can specify a datetime field in DT Editor, like this:
fields: [
{
label: "Effective Date:",
name: "EffectDate",
type: "datetime",
format: 'MM-DD-YYYY'
},
However, when you Edit the row, after the editor window pops up, the calendar automatically opens. It hides (covers) the other fields. Also, I should mention that it's the first field.
How do I stop auto open from happening on the datetime field?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Editor gives focus to the first input field by default.
You can find alternative behaviours here:
https://editor.datatables.net/reference/type/form-options
That worked! Added the following formOptions to stop auto-focus on datetime field which was covering the other fields.