Hello Fellow Dojoers
I have a dijit textarea contained within a dijit dialog which does not work properly. It uses no scrollbar and instead the textarea box expands to fit the text as its entered. I have seen this problem on the forum but without a resolution or any possible causes.
Also I notice the textarea example in Dojobook uses the dojo/dojo.xd.js whereas my local version only contains the dojo/dojo.js version. Could this be part of the problem?
Here is my code:
<div dojoType="dijit.Dialog" id="dialog_new_vehicle" title="New Vehicle" style="display:none">
<form name="vehicleinfo" id="vehicleinfo">
<table border="1" width="400">
.....
..
<tr>
<td valign="top"><span class="standardContent"><?php echo VEHICLE_NOTES; ?></span></td>
<td><textarea class="standardContent" id="t_a" dojoType="dijit.form.Textarea" style="width:150px;"> </textarea></td>
</tr>
</table></form></div>
<form name="vehicleinfo" id="vehicleinfo">
<table border="1" width="400">
.....
..
<tr>
<td valign="top"><span class="standardContent"><?php echo VEHICLE_NOTES; ?></span></td>
<td><textarea class="standardContent" id="t_a" dojoType="dijit.form.Textarea" style="width:150px;"> </textarea></td>
</tr>
</table></form></div>
I am using dojo 1.2.1
Thanks,
Troy Fandango

I encountered the same problem!
I encountered the same problem in Firefox 3. But it's OK in IE. I'm using dojo-1.2.3.
What's strange is that when I visit http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-validation-s... , the example textarea(which uses dojo-1.0.0) works fine in FF3. So I think maybe this is a new bug in 1.2.x.