l.a.w.p.VocabularyPickerWidget(SingleDataHelper, ItemsWidgetBase) : class documentation

Part of lp.app.widgets.popup View In Hierarchy

Known subclasses: lp.app.widgets.popup.BugTrackerPickerWidget, lp.app.widgets.popup.DistributionSourcePackagePickerWidget, lp.app.widgets.popup.PersonPickerWidget, lp.app.widgets.popup.SearchForUpstreamPopupWidget, lp.code.browser.widgets.gitref.GitRepositoryPickerWidget

Wrapper for the lazr-js picker/picker.js widget.
Method matches Return a list of matches (as ITokenizedTerm) to whatever the
Method formToken Undocumented
Method inputField Undocumented
Method selected_value String representation of field value associated with the picker.
Method selected_value_metadata Undocumented
Method show_widget_id Undocumented
Method config Undocumented
Method json_config Undocumented
Method extra_no_results_message Extra message when there are no results.
Method vocabulary_filters The name of the field's vocabulary.
Method vocabulary_name The name of the field's vocabulary.
Method header_text Undocumented
Method step_title_text Undocumented
Method input_id This is used to ensure the widget id contains only valid chars.
Method chooseLink Undocumented
Method extraChooseLink Undocumented
Method nonajax_uri Override in subclass to specify a non-AJAX URI for the Find link.
@cachedproperty
def matches(self):
Return a list of matches (as ITokenizedTerm) to whatever the user currently has entered in the form.
@cachedproperty
def formToken(self):
Undocumented
def inputField(self):
Undocumented
@property
def selected_value(self):
String representation of field value associated with the picker.

Default implementation is to return the 'name' attribute.

@property
def selected_value_metadata(self):
Undocumented
@property
def show_widget_id(self):
Undocumented
@property
def config(self):
Undocumented
@property
def json_config(self):
Undocumented
@property
def extra_no_results_message(self):
Extra message when there are no results.

Override this in subclasses.

ReturnsA string that will be passed to Y.Node.create() so it needs to be contained in a single HTML element.
@property
def vocabulary_filters(self):
The name of the field's vocabulary.
@property
def vocabulary_name(self):
The name of the field's vocabulary.
@property
def header_text(self):
Undocumented
@property
def step_title_text(self):
Undocumented
@property
def input_id(self):
This is used to ensure the widget id contains only valid chars.
def chooseLink(self):
Undocumented
def extraChooseLink(self):
Undocumented
@property
def nonajax_uri(self):
Override in subclass to specify a non-AJAX URI for the Find link.

If None is returned, the find link will be hidden.

API Documentation for Launchpad, generated by pydoctor at 2018-06-23 00:00:09.