Dropdown in editor is not working correctly

Dropdown in editor is not working correctly

jens.olssonjens.olsson Posts: 17Questions: 7Answers: 1

I have used custom select options drop-down with custom label & value.
Below is the code for that.

var userClasses = [
    {
        "label": "Administrator",
        "value": "admin"
    },{
        "label": "Contact",
        "value": "contact"
    },{
        "label": "Readonly",
        "value": "readonly"
    }
];

I have also attached the gif to understand.
just for information: I have used text-transform: capitalize to make the first letter capital.

Answers

This discussion has been closed.