The changes made in https://gerrit.wikimedia.org/r/#/c/406397/ make it a bit harder to implement custom options for the menu item, e.g. adding unique ids, classes, etc. Since private methods in JS are not really private, we got away with the override in https://gerrit.wikimedia.org/r/#/c/405905/, but I'd advise moving menu item creation to their own public methods.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Extract menu item creation in DropdownInputWidget | oojs/ui | master | +37 -12 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 409355 had a related patch set uploaded (by Gabriel Birke; owner: Gabriel Birke):
[oojs/ui@master] Extract menu item creation in DropdownInputWidget
Comment Actions
Change 409355 merged by jenkins-bot:
[oojs/ui@master] Extract menu item creation in DropdownInputWidget