I am trying to alter a drop down Enum option list depending on the incoming value to the edit screen. The drop down changes as expected when the screen displays, but when I select an option I get the following error (if it isn’t the first Enum list):
ConversionException: Unable to convert value of type com.solutiondomain.fieldsolution.entity.ElectricJobTypes to model type class com.solutiondomain.fieldsolution.entity.WaterJobTypes. No converter is set and the types are not compatible.
Source file attached.
Do I need to convert the field as well somehow when I set the different Enum class?