Opened 6 years ago

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

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by seveas

Add a test for this

comment:1 Changed 6 years ago by seveas

  • 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 6 years ago by Alex

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 6 years ago by SmileyChris

  • Summary changed from as_hidden() broken SplitDateTime widget to Test to show as_hidden() SplitDateTime widget works
  • Triage Stage changed from Accepted to Ready for checkin

comment:4 Changed 4 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

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

Fixed #11213

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