Login Register

dijit.form.DateTextBox

DateTextBox - datePattern week number bug

Hello,

I'm trying to create something similar to DateTextBox example:

http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-validation-s...

My code is identical to example (copy-paste) and it works perfect.

I wanted to change a datePattern to yyyy-ww, to see Julian week number. I've changed input part of example to:

<input type="text" name="date1"
                dojoType="dijit.form.DateTextBox"
constraints="{datePattern:'yyyy-ww'}"
/>

Also tried it without "

Multiple instances of same widget displayed as combined widget

Hello,

I'm currently trying to create a widget for date range. Instead of needing two separate instances of DateTextBox we would like to have one widget that displays both the from and to so the values may be referenced as myWidget.fromDate and myWidget.toDate as well as the validation would be embedded so that "To" could not be earlier than "From".

How reset a dijit.form.DateTextBox inside a dijit.Dialog

Hi,

I'm new user of dojo.

I'd like to know how I could change the value of a dijit.form.DateTextBox from a button or function. In my page when I select a date, if I close the dialog box, the date continues and I would like clear this date.

Thanks

dijit.form.DateTextBox alignment at edge of page

Basically, I have the following HTML:

<div style="text-align:right">
   <div dojotype="dijit.form.DateTextBox" style="width:100px"></div>
</div>

This pushes the right side of the textbox to the right of the widow. When the user clicks on the textbox, half of the calendar popup is off the page because the calendar is wider than the textbox but it's left flush with the text box. Nothing can be selected on there because as soon as the user scrolls right (via scrollbar or arrows), the calendar disappears because of loss of focus.

DateTextBox not working on Safari 3.1

I am using Version 3.1 (5525.13) and there are a bunch of errors that are visible in the Web Inspector when viewing http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-validation-s.... I was particularly interested in the dijit.form.DateTextBox, which doesn't show up at all. Below are the error messages:

DateTextBox: datePattern and selector attributes

Hi all,

With Dojo 1.0.1 I've tried to use attribute datePattern for widget DateTextBox to format date as "dd/MM/yyyy" but it doesn't work. However, if I use constraints attribute as:
constraints="{datePattern: 'dd/MM/yyyy'}"
Works perfectly.

Is this a known bug or is DateTextBox simply changed ?

Another info: is possible to use attribute selector to choose time from the popup calendar of the DateTextBox ?

Thanks !

dijit.form.DateTextBox ->any way not to use tundra on a body?

Hi there,

I am fairly new to dojo, so would appreciate your help!
I am using dijit.form.DateTextBox, so far so good. My only
problem is that I don't want to set the whole body class to "tundra" for it to appear properly,
I tried surrounding it with div class="tundra", but that only results in
partial styles application.

Syndicate content