Part of lp.app.browser.lazrjs View In Hierarchy
Known subclasses: lp.app.browser.lazrjs.InlinePersonEditPickerWidget
This widget is not for editing form values like the VocabularyPickerWidget.
Method | __init__ | Create a widget wrapper. |
Method | picker_type | Undocumented |
Method | selected_value_metadata | Undocumented |
Method | selected_value | String representation of field value associated with the picker. |
Method | config | Undocumented |
Method | getConfig | Undocumented |
Method | json_config | Undocumented |
Method | vocabulary | Undocumented |
Method | vocabulary_filters | Undocumented |
Method | show_search_box | Undocumented |
Inherited from WidgetBase:
Method | resource_uri | A local path to the context object. |
Method | json_resource_uri | Undocumented |
Method | can_write | Can the current user write to the attribute. |
Parameters | context | The object that is being edited. |
exported_field | The attribute being edited. This should be a field from an interface of the form ISomeInterface['fieldname'] | |
default_html | Default display of attribute. | |
content_box_id | The HTML id to use for this widget. Automatically generated if this is not provided. | |
header | The large text at the top of the picker. | |
step_title | Smaller line of text below the header. | |
null_display_value | This will be shown for a missing value | |
edit_view | The view name to use to generate the edit_url if one is not specified. | |
edit_url | The URL to use for editing when the user isn't logged in and when JS is off. Defaults to the edit_view on the context. | |
edit_title | Used to set the title attribute of the anchor. |