Page MenuHomePhabricator

Standard inputs lose their values on preview
Closed, ResolvedPublic

Description

"If I enter text into the summary field and then hit "show preview" the summary text vanishes."

This only applies when JS is turned off. (Else the preview is loaded using Ajax and the original form is never replaced in the browser.)

How to reproduce:

  1. Turn off JavaScript in the browser.
  2. 'Edit with form' some page containing a summary input.
  3. Insert text into the summary line.
  4. Hit 'Preview'.

Result: No text in the summary line of the form.
Expected: Text as inserted in step 3.

The problem is that, although values for standard inputs are sent in the preview request, they are not included in the form html.

SFFormUtils::summaryInputHTML and the other ...InputHTML methods need to be fixed.


Version: unspecified
Severity: normal

Details

Reference
bz50199

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz50199.
Foxtrott created this task.Jun 25 2013, 9:55 PM