https://bugzilla.wikimedia.org/show_bug.cgi?id=50199

       Web browser: ---
            Bug ID: 50199
           Summary: Standard inputs lose their values on preview
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SemanticForms
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

"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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to