I'm calling a remoting method from javascript. The method expects a custom class with one of the fields of type ConnectApi.MarkupType
.
While sending a string value for this field, I'm getting an error Unexpected type for Controller.methos(CustomClass)
How do I send the enum value from frontend?