I've come across some unexpected behaviour when editing the Alias of a field in the Units layer hosted on AGOL which I'm using in a Space Planner and Indoors Viewer app.
The layer has several equipment fields which I configured in ArcPro so that meeting rooms in the modelled building could be filtered. When the fields were created I set their domains to be 'DOM_EQUIPMENT' and gave unit features appropriate values. This was then uploaded/synced on AGOL and everything was working fine.
I then noticed that the Indoors Viewer app was reflecting the alias of these fields, which didn't have spaces. So I went to the layer on AGOL and edited the field alias to include spaces (e.g. 'TrainingPCs' to 'Training PCs'). However this seemed to 'break' the field. It no longer shows up on the equipment filter for meeting rooms. I had a look at the data in Pro and for some reason the Domain has been edited awway from 'DOM_EQUIPMENT' (see image below). The only field still working is the one which is still set to the original domain.

All I did was change the alias so I have no idea why this resulted. Is this a bug? I now need to delete the fields and redo which is not ideal.