Created by: tadeusz-niemiec
Fixes #1629 (closed) Improve enum field definition in the dashboard generator