Login Register

textarea

textarea overrunning - no scrollbar

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:

TextArea with ProgressBar not updating

I am attempting to use the dijit.ProgressBar for displaying the how many character of text the user has entered and has remaining in a textarea. The progress bar does display and updates correctly on the screen. However, the counter and max fields display as 0 and 1 respectively, and do not get updated. I am using the example that was on the Dojo Campus, however that example was using a input type="text"... and not a textarea. I am a newbie to dojo. Any suggestions would be appreciated. Thanks!

description:

dijit.form.Textarea: minimum height?

Is it possible to set the minimum height of a stretchable dijit.form.Textarea box.

I tried the properties minSize and sizeMin, without success. What would the correct syntax be?

Dijit textarea, changing it's apperance when it's invalid

So basically i've managed to make it validate like the Textbox but i can't make it to change it's appearance so the user can see that the data entered is invalid (i'm using the simple textbox and i've managed to display the tooltip, but can't change the css), similar to how it changes when you have ValidateTexbox (changing the color to yellow would be enough).

Textarea bug in Firefox?

I've hit a problem with the Textarea component that I can't work out and suspect a bug.

I'm building a form in an ordered list. In one list item I have a digit textarea. It displays fine however when used in Firefox (3) the enter key does not work.

This is the code I'm using:

<form>
<ol><li>
	<textarea style="width:300px;" dojoType="dijit.form.Textarea"></textarea>
</li></ol>
</form>

Override default (browser) right-click menu on Textarea widget

Anybody know how to override the default browser right-click menu for text widgets?

I have a textarea widget that I have hooked a custom right-click menu to, by building the menu and then calling 'myMenu.bindDomNode(myTextarea.domNode.id);'. If I specify border width, color, and style for the Textarea, then I can see my custom menu when I click on the border. However, whenever I click anywhere in the textarea itself, the default browser right-click menu appears instead.

Any ideas would be appreciated...

Thanks.

Editor submit state

Hi,

Can anyone confirm the state of dijit.Editor? I couldn't get it to work neither in FF nor in IE7. It seems submit is broken. Any help?

Regards,

Edit cell not displaying completely

I am working on the UI for a dojox grid created by one of the other developers on my project. When in edit mode, the iframe does not display completely. I believe I have narrowed down the problem to an incorrect overflow setting on the containing iframe. My problem is I cannot figure out where the code is that is genereating the iframe. If anyone can point my in the direction of the code responsible for generating the html output for the editable grid display cell it would be much appreciated.

Thanks!

Fixed size Textarea, using dijit.form.Textarea...?

I'm looking to utilize a Textarea for certain input elements within a site I'm building up. I would ideally like to utilize the Dojo controls: dijit.form.Form and dijit.form.Textarea together, as it seems like the only way to get the functionality of dijit.form.Form.getValues() is to make use of a Dojo widget control inside the Dojo form. The attempt here is to standardize.

Auto scrolling in a LayoutContainer with a textarea

I have a problem with a textarea that I have created within a LayoutContainer. It looks like this:

<div dojoType="dijit.layout.LayoutContainer" class="dijitTextBox"
       style="width: 270px; height: 70px; text-align:left; vertical-align:top; overflow:auto;">

    <div dojoType="dijit.layout.ContentPane" layoutAlign="top">
       <textarea dojoType="dijit.form.Textarea" id="dataTypeDescription" rows="4" cols="25"/>
    </div>
  </div>
Syndicate content