Bartosz Dziewoński has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/57/341357/1

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: newchange
Gerrit-Change-Id: I84da290c6ed6e3f0227d727a0d54797226746ffc
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to