We're currently working on making it easier to add new field types to KeystoneJS as plugins.
In the meantime, if you'd like to work on your own field type, hopefully this guide will point you in the right direction.
Keystone fields require the following:
- a
{fieldType}.jsfile in./lib/fieldTypesthat controls the field and encapsulates options support, underscore functions, validation and updating - the
{fieldType}.jsfile needs to be included by./lib/fieldTypes/index.js
