wiki.techinc.nl/includes/htmlform
Bartosz Dziewoński f88a5a1815 HTMLTitleTextField: Allow this field to not be required
Previously we would always run the validation, and it would fail when
the field was empty, since empty string is not a valid title.

Respect the 'required' option (defined by HTMLFormField) and make it
default to true for compatibility with existing forms that might rely
on this.

Also add a TODO comment about a confusing special case in validation
code. I don't want to dig into that.

Change-Id: I93ad51ffe7bee597d2d127f4c5d6b2929ffc8f7e
2018-05-07 20:57:51 +02:00
..
fields HTMLTitleTextField: Allow this field to not be required 2018-05-07 20:57:51 +02:00
HTMLForm.php Merge "Make setSubmitProgressive() Deprecate" 2018-04-25 21:45:50 +00:00
HTMLFormElement.php Hygiene: Use “OOUI” as unified name in build and code documentation 2018-01-31 22:10:46 -08:00
HTMLFormField.php Hygiene: Use “OOUI” as unified name in build and code documentation 2018-01-31 22:10:46 -08:00
HTMLFormFieldRequiredOptionsException.php
HTMLNestedFilterable.php Add access modifiers to htmlform classes 2016-11-04 11:40:42 +01:00
OOUIHTMLForm.php OOUIHTMLForm: Prevent duplicate FieldsetLayout wrapping 2017-11-16 12:40:56 +00:00
VFormHTMLForm.php Drop HTMLForm & VFormHTMLForm::isVForm(), deprecated in 1.25 2018-03-26 10:55:41 -07:00