keystone icon indicating copy to clipboard operation
keystone copied to clipboard

When defaultFieldMode: 'read' is set, nulled values are not distinguishable from empty strings.

Open phifa opened this issue 3 years ago • 0 comments

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.

Bildschirmfoto 2021-11-04 um 11 18 58

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

Bildschirmfoto 2021-11-04 um 11 19 57

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

phifa avatar Nov 04 '21 10:11 phifa