dashboard: fixed bug where enums field couldn't be saved