Merge "jquery.tablesorter: Silence an expected "sort-rowspan-error" warning"
[mediawiki.git] / resources / src / mediawiki.special.apisandbox / PasswordParamWidget.js
blobb2fa6028d192d8e70e205d9f81dc82470640f979
1 const TextParamMixin = require( './TextParamMixin.js' ),
2 UtilMixin = require( './UtilMixin.js' );
4 /**
5 * A wrapper for OO.ui.TextInputWidget
7 * @class
8 * @private
9 * @constructor
10 * @param {Object} config Configuration options
12 function PasswordParamWidget( config ) {
13 config.type = 'password';
14 PasswordParamWidget.super.call( this, config );
17 OO.inheritClass( PasswordParamWidget, OO.ui.TextInputWidget );
18 OO.mixinClass( PasswordParamWidget, TextParamMixin );
19 OO.mixinClass( PasswordParamWidget, UtilMixin );
21 /**
22 * @return {string}
24 PasswordParamWidget.prototype.getApiValueForDisplay = function () {
25 return '';
28 module.exports = PasswordParamWidget;