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: 63,522Questions: 1Answers: 10,473 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.