Macros inside <select> and <textarea> connected via n:name

6 years ago

duke
Member | 650
+
0
-

Following constructs lead to incorrectly compiled templates:

<select n:name="foo"{ifset $whatever} whatever{/ifset}></select>
<textarea n:name="foo"{ifset $whatever} whatever{/ifset}></textarea>

… while this one works:

<input n:name="foo"{ifset $whatever} whatever{/ifset}>

edit: Same bug applies for other macros, including {$varname}, such as in:

<select n:name="foo" whatever="{$whatever}"></select>
<textarea n:name="foo" whatever="{$whatever}"></textarea>

Last edited by duke (2014-01-28 17:42)