W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] Opera, repeats, remove, move-up, and move-down

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 07 Mar 2007 12:06:52 +0100
Message-ID: <op.totftqwz64w2qv@id-c0020.driveway.uu.nl>
On Tue, 06 Mar 2007 22:00:31 +0100, Elliotte Harold  
<elharo at metalab.unc.edu> wrote:
> Is this just an Opera limitation for the time being or am I missing  
> something?

It appears to be both a bug in Opera and a bug in your code... For some  
reason we don't ignore the template="" attribute on the remove / move-up /  
move-down controls (thanks Simon for the bug report!).


> <div id="observation" repeat="template" repeat-start="5">
>    <label>Species:
>      <input type="text" name="species[observation].name" value="" />
>    </label>
>    <label>Count:
>      <input type="number" min='1'  value=""
>             name="species[observation].number" />
>    </label>
>    <button type="remove" template="observation">Delete</button>
>    <button type="move-up" template="observation">Move Up</button>
>    <button type="move-down" template="observation">Move Down</button>
> </div>
> <div><button type="add" template="observation">Add Species</button></div>


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 7 March 2007 03:06:52 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC