Docker Community Forums

Share and learn in the Docker community.

UX bug: adding/editing labels

(Dusterio) #1

Not sure if it’s a known issue already but there is a little yet annoying UX bug in Docker Cloud - when editing service tags (labels), if you add a new label and press ‘space’, JavaScript will parse the list and apply CSS styles to the newly added label. If you click ‘Save’ now - you will get an error ‘Error updating service’.

However, if you don’t press space after entering a new tag and just click ‘Save’ right away - update will work fine. UX-wise, this scenario actually feels less likely to succeed (new tag wasn’t acknowledged as new tag by the user interface).

Seems like that extra space in the payload causes the request to fail :slight_smile: