Page MenuHomePhabricator

Can't submit Form if visual editor is only present in MultipleInstanceTemplate and mandatory
Open, Needs TriagePublicBUG REPORT

Description

Steps to Reproduce:

First Test:
Include one single textarea with properties "...|editor=visualeditor|mandatory|..." into a MultipleInstanceTemplate.

Click on save.

Form wont submit.

Second Test:
Click on "add MultiInstanceTemplate" and write something into the textarea where the visualeditor is enabled and the field is mandatory

click on save

Form wont submit

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 16 2019, 10:53 AM

Change 504294 had a related patch set uploaded (by Sebastian.Schmid; owner: Sebastian.Schmid):
[mediawiki/extensions/PageForms@master] validateAll Input fields befor set dirtyFlag "canSubmit" to true. Always run callback in pageFormsActualizeVisualEditorFields()

https://gerrit.wikimedia.org/r/504294

Change 504838 had a related patch set uploaded (by Sebastian.Schmid; owner: Sebastian.Schmid):
[mediawiki/extensions/PageForms@master] Change whitespaces to tabs

https://gerrit.wikimedia.org/r/504838

Change 504838 abandoned by Yaron Koren:
Change whitespaces to tabs

https://gerrit.wikimedia.org/r/504838