Special character | in select input

I’m trying to use the character | in the text of an option value in an input select, but can’t seem to get it working. I tried using html entitities, unicode, {% capture %} in a variable, but nothing seems to work. Is this even possible?

Hi @JoA

This is not possible because the character “|” is actually the character that is used to divide the possible options in the option attribute for the input as select. So when it is used in the text of an option value it will be seen as a divider.

Kind regards,