Editor: set value of a select (nothing selected, value is null or empty)

Editor: set value of a select (nothing selected, value is null or empty)

rldean1rldean1 Posts: 141Questions: 66Answers: 1

I know how to do this is regular jQuery. I also know how to use Editor's field(), val(), and others to get/set field values for inputs.

I'm having trouble with select inputs.

What is the best way to set a dropdown such that nothing is selected, and the value null or empty?

Would I need to include that as an option?

Answers

  • colincolin Posts: 15,118Questions: 1Answers: 2,583

    Hi @raydlevel5 ,

    If you take a nose at the select type page, you'll see options to configure those. Shout if you have problems,

    Cheers,

    Colin

This discussion has been closed.