Issue 209 in php-form-builder-class: Element Select and text value

3 views
Skip to first unread message

php-form-bu...@googlecode.com

unread,
Nov 28, 2013, 7:18:12 AM11/28/13
to php-form-builder...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 209 by paniez.m...@gmail.com: Element Select and text value
http://code.google.com/p/php-form-builder-class/issues/detail?id=209

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.


Attachments:
selectPFBC.png 1.6 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages