Empty field in Editor field type "select"

Empty field in Editor field type "select"

schwaluckschwaluck Posts: 103Questions: 27Answers: 1
edited July 2020 in Free community support

Hi all,

I implemented a field of type "select" in my Editor instance which works very well.
I also used a placeholder to give the user the opportunity to not directly select one of the options.

Now my question:
I want to give the user to opportunity to select one option but deselect it as well in within the same instance.
But in my case I can select one option but afterwards I am not able to select the placeholder again.

If I enter a empty option into my options, the placeholder isn't visible anymore.

Does anyone have a good solution for this?

            {
                "label": "Test:",
                "name": "Test",
                "type": "select",
                "multiple": true,
                "separator": ", ",
                "placeholder": "Please choose",
                "options": [
                    '',
                    '1',
                    '2',
                    '3',
                    '4',
                    '5',
                    '6Cleaning'
                ]
            },

Thanks in advance!

Daniel

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.