Opened 7 years ago

Closed 7 years ago

#14719 closed (duplicate)

Different attributes for DateInput and TimeInput in SplitDateTimeWidget

Reported by: slink <gabor@…> Owned by: nobody
Component: Forms Version: master
Severity: Keywords: widget date time
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Current implementation of SplitDateTimeWidget accepts an attrs dictionary and passes it to both DateInput and TimeInput widgets. It would be nice if widgets may have different attributes while attrs still applies to both.

For instance:

widget = SplitDateTimeWidget(attrs={'class': 'input-field'},
                             date_attrs={'dojoType': 'dijit.form.DateTextBox'},
                             time_attrs={'dojoType': 'dijit.form.DateTextBox'})

Change History (1)

comment:1 Changed 7 years ago by Russell Keith-Magee

Resolution: duplicate
Status: newclosed

Duplicate of #14718

Note: See TracTickets for help on using tickets.
Back to Top