Opened 16 years ago

Closed 14 years ago

#11213 closed (fixed)

Test to show as_hidden() SplitDateTime widget works

Reported by: skm Owned by: nobody
Component: Forms Version: dev
Severity: Keywords: as_hidden
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Calling .as_hidden() on the SplitDateTime widget doesn't work correctly. It only outputs one hidden input with the value of [None,None]

Attachments (1)

test-hidden-splitdatetime.diff (1014 bytes ) - added by Dennis Kaarsemaker 15 years ago.
Add a test for this

Download all attachments as: .zip

Change History (5)

by Dennis Kaarsemaker, 15 years ago

Add a test for this

comment:1 by Dennis Kaarsemaker, 15 years ago

Has patch: set

Current svn renders the field correctly. I saw there was no test though, so I created one.

comment:2 by Alex Gaynor, 15 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Chris Beaven, 15 years ago

Summary: as_hidden() broken SplitDateTime widgetTest to show as_hidden() SplitDateTime widget works
Triage Stage: AcceptedReady for checkin

comment:4 by Malcolm Tredinnick, 14 years ago

Resolution: fixed
Status: newclosed

(In [13816]) Added a test for hidden SplitDateTime fields. Thanks, seveas.

Fixed #11213

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