Editor: Add "empty" select option to dropdown list
Editor: Add "empty" select option to dropdown list
kmbonin
Posts: 59Questions: 16Answers: 0
Is there a way to add an empty option ("Select a value") to a dropdown list? I have a dd list with values from a left-joined table, and all empty/blank/null values default to the first value in the list. I want to default the values, if null, to a blank/empty option that says something like "Select" or "Select a Value" and not force the user to pick a list value.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yes, using the
placeholder
option of theselect
field type.Allan