Opened 5 years ago

Closed 3 years ago

#17708 closed enhancement (patchwelcome)

TimeTextBox: make manually entered text follow clickableIncrement

Reported by: George Sexton Owned by:
Priority: undecided Milestone: 1.13
Component: Dijit - Form Version: 1.9.2
Keywords: Cc:
Blocked By: Blocking:

Description

I'd like to see an enhancement to TimeTextBox?. For example, I want events to be on the hour, or half-hour.

I've added

data-dojo-props="constraints: {clickableIncrement: 'T00:30:00'}"

and that does limit the dropdown to the hour or half-hour, but the user can still type in any value.

I'd like a configuration option that has the default digit validator implement the check for the constraint based on the value of clickableIncrement.

Change History (2)

comment:1 Changed 5 years ago by bill

Component: GeneralDijit - Form
Summary: Enhance TimeTextBox so that manually Entered Text Follows ClickableIncrementTimeTextBox: make manually entered text follow clickableIncrement

comment:2 Changed 3 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in more than a year, I'm closing this as patchwelcome. Please let us know if you would like to get involved in helping make this change to Dojo!

Note: See TracTickets for help on using tickets.