Switch Activity not working with Multiple Choice option

Hello,

I have a switch activity where the user can select from several options as a dropdown, whenever he selects any option it directly goes to the default option. I’m not using " " for my cases.
When I switched to Text Box rather than multiple choice it worked.
Any explanation ?

Hi @MHarakeh,

Can you share your switch and your input screenshots?

Regards.
Ömer

Hi @omer.ozturk

There you go, here’s an example of what I was trying to do…
image

Hi @MHarakeh,

Please delete the blanks from Input Options of EyeColour.

Write like this: (“Blue;Green;Grey;Black”)

1 Like

HI @MHarakeh

Check out the XAML file

"1.Tea-$10;2.Coffee-$20;3.Snaks-$30"

InputMultipleOption.xaml (5.6 KB)

image

Regards
Gokul

Hi @omer.ozturk

No that’s not the issue…

Hi @MHarakeh,

This is interesting, when i do the same activities like you, I can get the true result.

Check the screenshot please.

Regards
Ömer

Try to Use Like this in the Input Dialog activity “Blue;Green;Grey;Black”

Regards
Gokul

it should look like this

or you will use a string array as an alternate

Hi @omer.ozturk @Gokul001 @ppr

I don’t know if the parenthesis was the issue ( defining the options as "Blue;Black;…) but removing them solved the problem.

Thank you all !!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.