.. _dijit/form/Textarea: dijit.form.Textarea =================== :Status: Draft :Version: 1.3 :Authors: Doug Hays, Bill Keese, Nikolai Onken :Developers: Doug Hays, Bill Keese :Available: since V1.0 .. contents:: :depth: 2 A Textarea widget is like a regular HTML TEXTAREA element, but it dynamically resizes to fit the content of the text inside. It takes nearly all the parameters (*name*, *value*, etc.) that a vanilla TEXTAREA takes. The attribute *rows* is not supported since this widget adjusts the height. It is especially useful in an :ref:`InlineEditBox `. Note that when declaring a Textarea in markup you should use a Declarative example ------------------- Here we'll create a Textarea widget declaratively. In this instance, the initial *value* is the child text node of the TEXTAREA element. .. cv-compound:: .. cv:: javascript .. cv:: html ============= Accessibility ============= Keyboard -------- The Textarea widget uses native HTML TEXTAREA controls. ============================= Known Issues (1.2 and before) ============================= * On Firefox 2, the user must press the Tab key twice before keyboard focus moves to the next widget. (There is no problem when using Shift+Tab.) * The attribute "cols" was not supported, but the CSS style *width* could be used instead.