Opened 6 years ago

Closed 6 years ago

#10407 closed (duplicate)

PasswordInput's render_value argument should be documented

Reported by: collink Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: yes
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

For example:

form = LoginForm( request.POST )
if not form.is_valid( ):

form.fieldspassword?.widget.render_value = False

Change History (3)

comment:1 Changed 6 years ago by collink

  • Component changed from Uncategorized to Documentation
  • Needs documentation set
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 6 years ago by SmileyChris

  • Summary changed from Documentation needed for Form Values to PasswordInput's render_value argument should be documented
  • Triage Stage changed from Unreviewed to Accepted

It's a common IRC FAQ.

More than just the example given in the description, it should primarily document that the PasswordInput class can be called like PasswordInput(render_value=False) to achieve this same behaviour

comment:3 Changed 6 years ago by kmtracey

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

Isn't this the same as #6674?

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