#6035 closed (fixed)
SplitDateTimeField doesn't use SplitDateTimeWidget by default
Reported by: | David Tulig | Owned by: | David Tulig |
---|---|---|---|
Component: | Forms | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When using SplitDateTimeField in a form, the default behaviour is to display a TextInput widget when rendered, not only is it not what is expected, but you are unable to enter a valid datetime because validation fails. Attached patch sets the widget property of SplitDateTimeField to SplitDateTimeWidget. It still allows a custom widget to be passed in as a parameter.
Attachments (1)
Change History (6)
by , 17 years ago
Attachment: | splitdatetimefield.diff added |
---|
comment:1 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
Cc: | removed |
---|
comment:3 by , 16 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 by , 16 years ago
Note:
See TracTickets
for help on using tickets.
(In [9385]) Fixed #6035 -- Gave the SplitDateTimeField the proper default widget. Thanks dtulig.