ES-DOC / esdoc-questionnaire

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

Add logic to when an atomic field can be customized to use a different widget. #458

Closed allynt closed 7 years ago

allynt commented 8 years ago

WHO: Allyn

Currently, an atomic field can be customized to use a TextArea, URLField, EmailField, DateWidget, etc. instead of the default text input. However, this doesn't always make sense - what if there is also a default value set which is not of type "date" or "url" or whatever? And what if there are existing documents that already have invalid values? I need to figure out how to cope w/ these cases.

allynt commented 7 years ago

This is probably more trouble than it's worth. If somebody is messing about with a customization, we have to assume that they know what they're doing. That is why the customizing process is exposed to such a small number of users.