No, you don't, where'd you get that idea from? variables work regardless of text-editor mode.
Anyways, the issue here is that he's using the "Title" attribute which 9 times out of 10 never works, if he wants to do it via index, he needs to use "Ordinal" attribute. However I'd recommend doing the following as honestly should be standard at this point in the community when dealing with web selectors:
-Use "Extract data from webpage"
-Extract one of the dropdown values
-Select "Advanced Options"
-Examine the selector it produces, in your case it'll probably be something like html > body >div >div >div > div >ul >li, to get the list item you need you just need to change this to html > body >div >div >div > div >ul >li:contains(%YourVariableHere%) Note: test this without a variable first, write any dropdown value in-between the () brackets. then take this, simply copy it, go into any UI Element / Selector, select "Text Editor" toggle and paste your selector into it, now anytime you call upon this selector it will dynamically select the dropdown item you want based on your variable.
Hope that helps.