Help with import snippet based on drop menu

one issue im running into and cant seem to fix is when i try and use the dropdown, whatever is entered into the "options" section, ends up in my final text. for instance:

Hi {formmenu: default=1; 2; name=option} {if: option=="1"}it works{elseif: option=="2"}it doesn't work{endif}

when i select "1" from the dropdown, "Hi 1 it works" is what i end up with. I'm sure there is a simple solution, but i haven't been able to figure it out. any tips?