new mw.widgets.UsersMultiselectWidget(configopt)
#
UsersMultiselectWidget can be used to input list of users in a single line.
If used inside HTML form the results will be sent as the list of newline-separated usernames.
This can be configured to accept IP addresses and/or ranges as well as usernames.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
<optional> |
Configuration options Properties
|
UsersMultiselectWidget can be used to input list of users in a single line.
Extends
Methods
getSelectedUsernames() → {Array.<string>}
#
onTagSelect()
#
We have an empty menu when the input is empty, override the implementation from MenuTagMultiselectWidget to avoid error and make tags editable.
Only editable when the input is empty.
We have an empty menu when the input is empty, override the implementation from MenuTagMultiselectWidget to avoid error and make tags editable.