MediaWiki:Common.js: Difference between revisions

From VanRO Ragnarok Online
No edit summary
No edit summary
Line 1: Line 1:
$(document).ready(function() {
this.descriptionWidget = new OO.ui.MultilineTextInputWidget( {
     $('#ooui-30').prop('checked', true); // Automatically checks the checkbox with ID 'ooui-30'
     required: false,
});
    validate: /\S+/,
    autosize: true,
    disabled: true // Add this line to disable the widget
} );

Revision as of 03:03, 15 May 2024

this.descriptionWidget = new OO.ui.MultilineTextInputWidget( {
    required: false,
    validate: /\S+/,
    autosize: true,
    disabled: true // Add this line to disable the widget
} );