The origin row of this dropdown.
For the root session, this is simply the row
field of the
DeputyContributionSurveyRow that is handling the row.
For dependent sessions, this is a much simpler version which includes
only the case page info and the row title.
The DeputyCase for this dropdown
The title of the row (page) that this dropdown accesses
Additional construction options, usually used by the root session.
The OOUI DropdownWidget element. This does not use DropdownInputWidget due to its lack of support for icons in dropdown menu options and the ability to hide said icons using CSS and other fun trickery.
A listener that listens to changes in the status dropdown and performs respective updates and changes.
A listener that listens to external changes to the status dropdown from the inter-tab communication channel.
A set of OOUI MenuOptionWidgets that make up the status dropdown.
The origin row of this dropdown. Contains info on the active case page and the title that this dropdown is for.
Static
Readonly
menuThe currently-selected status of this dropdown.
Sets the currently-selected status of this dropdown.
Gets a list of enabled options.
An array of ContributionSurveyRowStatuses
When an option is about to be closed and the current status matches that option, this function will find the next best option and select it. The next best value is as follows:
For
pageonly
, on which it'll be kept as is.The status that was changed into
Sets the 'disable state' of specific menu options. For the Unknown
option, a
specific case is made which removes the option from the menu entirely.
Create a new DeputyCCIStatusDropdown object.