jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/341357 )
Change subject: TextInputWidget: Fix documentation for 'maxRows' type
......................................................................
TextInputWidget: Fix documentation for 'maxRows' type
Change-Id: I84da290c6ed6e3f0227d727a0d54797226746ffc
---
M src/widgets/TextInputWidget.js
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Catrope: Looks good to me, approved
jenkins-bot: Verified
diff --git a/src/widgets/TextInputWidget.js b/src/widgets/TextInputWidget.js
index e00b369..cc7dd2e 100644
--- a/src/widgets/TextInputWidget.js
+++ b/src/widgets/TextInputWidget.js
@@ -43,7 +43,7 @@
* specifies minimum number of rows to display.
* @cfg {boolean} [autosize=false] Automatically resize the text input to fit
its content.
* Use the #maxRows config to specify a maximum number of displayed rows.
- * @cfg {boolean} [maxRows] Maximum number of rows to display when #autosize
is set to true.
+ * @cfg {number} [maxRows] Maximum number of rows to display when #autosize is
set to true.
* Defaults to the maximum of `10` and `2 * rows`, or `10` if `rows` isn't
provided.
* @cfg {string} [labelPosition='after'] The position of the inline label
relative to that of
* the value or placeholder text: `'before'` or `'after'`
--
To view, visit https://gerrit.wikimedia.org/r/341357
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I84da290c6ed6e3f0227d727a0d54797226746ffc
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Bartosz DziewoĆski <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits