mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
dropdown-list-widget: Rename setting_name -> widget_name.
This change is another in a series of commits that allows us to use DLW outside of realm_settings.
This commit is contained in:
committed by
Tim Abbott
parent
9129da88af
commit
aeb247f528
@@ -13,7 +13,7 @@ set_global('list_render', _list_render);
|
||||
run_test('basic_functions', () => {
|
||||
let updated_value;
|
||||
const opts = {
|
||||
setting_name: 'my_setting',
|
||||
widget_name: 'my_setting',
|
||||
data: ['one', 'two', 'three'].map(x => ({name: x, value: x})),
|
||||
value: 'one',
|
||||
on_update: (val) => { updated_value = val; },
|
||||
|
||||
Reference in New Issue
Block a user