added support for nullable enums
added hiden field to readonly control so that using it results in correct values going back to the viewmodel