keystone
keystone copied to clipboard
When defaultFieldMode: 'read' is set, nulled values are not distinguishable from empty strings.
If a field is set to text({ db: { isNullable: true } }),
and for the schema itemView: { defaultFieldMode: 'read', },
is active, then the view does not make it clear, if en empty string is set or null
.

if defaultFieldMode
is not set to read
, then you see if the value is actually null
:

Expected behaviour: Show null
if null
is in the database.