Someone can confirm that domain for a hosted feature service under Portal 10.5.1 - ArcGIS Enterprise 10.5.1 is not supported?
This image is a chart from Insights...

...and this is the report from data page of same feature service

And this image is from service URL where you can see domain assigned to field "tipologia"

Stefano