dhtmlx-compat ยท console.warn
dhtmlx-compat does not recognise editorType '{editorType}'; the default text editor was used instead.
Printed by dhtmlx-compat, prefixed [lattice], since 1.14.0.
Warnings reference › dhtmlx.editorType.unknown:*
- Identifier
dhtmlx.editorType.unknown:*- Raised by
- dhtmlx-compat
- Since
- 1.14.0
What happened
A column carried a dhtmlx editorType the shim has no mapping for. The column is still editable - editing was not switched off - but it was given the plain text editor, so a date, a select or a checkbox column will edit as free text and will accept values its type would have rejected.
The fix
Set the Lattice editor for that column directly (edit: { editor: 'date' } and so on), which also gives you the editor options the dhtmlx name cannot carry.
The smallest fix
columns: [{ id: 'due', type: 'date', edit: { enabled: true, editor: 'date' } }]
Reference
Covered in full at the API reference.