Evaulation of selected attribute for option tag broken

Bug #743768 reported by Aaron VanDerlip
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Chamelon ZPT
New
Undecided
Unassigned

Bug Description

 With the 2.0 releases this following does not work.

<select tal:define="items [1,2,3]">
  <option tal:repeat="item items" tal:content="item" tal:attributes="selected python:item == 3" > </option>
      </select>

Have tried a number of different approaches, most of which cause the template interpreter throw an error.. The above code does works in Chamelon 1.3

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.