Opened 7 years ago

Closed 6 years ago

#11213 closed (fixed)

Test to show as_hidden() SplitDateTime widget works

Reported by: skm Owned by: nobody
Component: Forms Version: master
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: UI/UX:

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 7 years ago.
Add a test for this

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by Dennis Kaarsemaker

Add a test for this

comment:1 Changed 7 years ago by Dennis Kaarsemaker

Has patch: set
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

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

comment:2 Changed 7 years ago by Alex Gaynor

Triage Stage: UnreviewedAccepted

comment:3 Changed 7 years ago by Chris Beaven

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

comment:4 Changed 6 years ago by Malcolm Tredinnick

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