ezkur / yad

Automatically exported from code.google.com/p/yad
GNU General Public License v3.0
0 stars 0 forks source link

Broken DropDown list CB #209

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.chooseDetectionMode=( "One"!"Two"!"Three" )
2. --field=Sequence:CB "${chooseDetectionMode[@]}"

What is the expected output? What do you see instead?
Expected output is a drop down with three options. The other fields on form 
work well but when it comes to the Sequence choose the dropdown shows broken or 
it shows no options.

What version of the product are you using? On what operating system?
I've recently installed yad on fedora20 

I would also like to use radiobuttons on the form but it seems that the form 
doesn't support list which contains radiobuttons.

Original issue reported on code.google.com by vaibhav....@gmail.com on 19 May 2014 at 1:42

GoogleCodeExporter commented 8 years ago
can you show all code of your form? simple test with your data works as expected

#! /bin/bash
# this is works

chooseDetectionMode=( "One"!"Two"!"Three" )
yad --form --field=Sequence:CB "${chooseDetectionMode[@]}"

and anyway, it's better to use sourceforge - 
http://sourceforge.net/projects/yad-dialog/

Original comment by ananasik on 19 May 2014 at 7:48