mirror of
https://github.com/zulip/zulip.git
synced 2026-06-27 21:01:32 +08:00
I confirmed that updater() only returns a string or undefined.
composebox_typeahead.js
- compsebox calls `content_typeahead_selected` which returns the composebox
text content
- stream and PM: implicitly returns undefined
pill_typeahead.js
- implicitly returns undefined
search.js
- narrow_or_search_for_term — returns `get_search_bar_text` or empty string
custom_profile_fields.js, settings_playground.js
- no updater function
If no updater function is provided, then updater returns the
value passed to it, which is
`this.$menu.find(".active").data("typeahead-value")`, which is a string.
|
||
|---|---|---|
| .. | ||
| bootstrap/css | ||
| bootstrap-typeahead | ||
| jquery-idle | ||
| marked | ||