dvModelWriteOnlyFields top-level property

Map<Type, Set<String>> dvModelWriteOnlyFields
final

The write-only fields of each model type: its @DVModel.sensitiveField()s.

A write-only field works like a password field. A generated form draws an input for it, obscured and always empty -- never prefilled, never filled in from a read -- and on an edit says that leaving it empty keeps the current value. Something typed into it is saved; nothing typed keeps what the record already holds. dvModelFormFields stays the set of fields a form may show and prefill, so a write-only field is in this set and not in that one.

Implementation

final Map<Type, Set<String>> dvModelWriteOnlyFields = {};