diff --git a/src/widgets/NumberInputWidget.js b/src/widgets/NumberInputWidget.js
index <HASH>..<HASH> 100644
--- a/src/widgets/NumberInputWidget.js
+++ b/src/widgets/NumberInputWidget.js
@@ -7,7 +7,9 @@
  *     // Example: A NumberInputWidget.
  *     var numberInput = new OO.ui.NumberInputWidget( {
  *         label: 'NumberInputWidget',
- *         input: { value: 5, min: 1, max: 10 }
+ *         input: { value: 5 },
+ *         min: 1,
+ *         max: 10
  *     } );
  *     $( 'body' ).append( numberInput.$element );
  *
NumberInputWidget: fix example

Config options 'min' and 'max' have to be passed directly as
properties of the config object, not in the 'input' property
of said object.

Change-Id: Iaceb7c<I>b<I>d<I>ede<I>e3f5b<I>