Getting [object Object] instead of an error message when creating a label with an ampersand on an issue page
If I create a label from the issue screen that has an ampersand in the label title, I get a red (error) box that says [object Object] instead of an error message.
Steps to reproduce
Here is a GIF of what I did.
If I do this from the labels screen, I get the actual error message like in this screenshot.
This is happening on the gitlab.com site as well as my own server that is running 8.8.3.