ContactForm should use OOUI for form rendering
This makes the form style itself on mobile This will however break compatibility with configurations that use the `cols` parameter Bug: T162538 Change-Id: I8f5cf572b97b0789b516d0fc556f8de5d5ca5555
This commit is contained in:
parent
419a02ea8f
commit
72532a3ea6
3
README
3
README
|
@ -81,7 +81,8 @@ It should be noted that type 'selectandother' is not currently supported.
|
|||
),
|
||||
|
||||
DisplayFormat is used to configure the HTMLForm. See HTMLForm documentation
|
||||
for possible values.
|
||||
for possible values. Recommended value is "ooui" for consistency with other
|
||||
forms and better mobile rendering.
|
||||
|
||||
RLModules can be used to add ResourceLoader modules (custom CSS and
|
||||
JavaScript) to the page.
|
||||
|
|
|
@ -19,21 +19,20 @@
|
|||
},
|
||||
"config": {
|
||||
"ContactConfig": {
|
||||
"@doc": "Use DisplayFormat `ooui` for compatibility with most skins.",
|
||||
"default": {
|
||||
"RecipientUser": null,
|
||||
"SenderEmail": null,
|
||||
"SenderName": null,
|
||||
"RequireDetails": false,
|
||||
"IncludeIP": false,
|
||||
"DisplayFormat": "table",
|
||||
"DisplayFormat": "ooui",
|
||||
"RLModules": [],
|
||||
"RLStyleModules": [],
|
||||
"AdditionalFields": {
|
||||
"Text": {
|
||||
"label-message": "emailmessage",
|
||||
"type": "textarea",
|
||||
"rows": 20,
|
||||
"cols": 80,
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue