option list in select type field

option list in select type field

hzhonghzhong Posts: 26Questions: 9Answers: 0

Hello, just wanted to make sure that option list in select type field does not render html, but treat everything within option as plain text, right?

Thanks

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 62,246Questions: 1Answers: 10,211 Site admin
    Answer ✓

    Yes - it is just an HTML select element, so it is using regular option elements, which do not render HTML. If you need HTML in the option, you would need to use a plug-in such as Select2.

    Allan

Sign In or Register to comment.