ES-DOC / esdoc-questionnaire

ES-DOC Questionnaire (webform generator for creating CIM Documents). POC: @allynt
Other
2 stars 1 forks source link

Allow all properties to be "nillable" #445

Closed allynt closed 7 years ago

allynt commented 8 years ago

WHO: @bnlawrence

In CIM1, an enumeration property could be "nillable" which would append a "NONE" value to the list of choices.

In CIM2, all properties can be nillable (see: https://bitbucket.org/bnlawrence/esdoc-nb/issues/225). Where the value is replaced w/ one of:

Add code to support this throughout the Q. And deprecate the old code that supported nillable enumerations.

allynt commented 8 years ago

This depends upon CIM2 & esdoc-mp being updated to cope w/ this feature.

allynt commented 8 years ago

All properties if defined as "nillable" include a separate template allowing users to specify whether to ignore the value and provide a reason.