Adjaime / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
GNU General Public License v3.0
0 stars 0 forks source link

Element Select and text value #209

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Create a new select element : 
 $options = array("1"=>"Option #1", "2"=>"Option #2", "3"=>"Option #3");
          return new Element\Select("Group","group", $options, array("value"=>array(2)));

What is the expected output?
A list with 3 options with labels "Option #1", "Option #2" and "Option #3"

What do you see instead?
A list with 3 options WITHOUT labels, but selected option works
The id options are true but without their labels (like an empty list with 3 
lines)

What version of the product are you using?
Last PFBC (I think 3.1)

On what operating system?
Xubuntu 13.10 / Apache 2.4.6 / PHP 5.5.3

Please provide any additional information below.

Original issue reported on code.google.com by paniez.m...@gmail.com on 28 Nov 2013 at 12:18

Attachments: