The grid (core) ยท console.warn
edit.confirm '{value}' is not a mode; use 'auto' or 'manual'. Treated as 'auto'.
Printed by The grid (core), prefixed [lattice], since 1.4.0.
Warnings reference › edit.confirm.unknown
- Identifier
edit.confirm.unknown- Raised by
- The grid (core)
- Since
- 1.4.0
What happened
The confirmation mode is not one of the two. It is treated as 'auto', so an edit is confirmed as soon as the commit hook resolves rather than waiting for your code to confirm it.
The fix
Use 'auto' or 'manual'.
Reference
Covered in full at the API reference.