From 4eacb80266f5166cfacf483a571c9c970577fc98 Mon Sep 17 00:00:00 2001 From: Chris Malley Date: Tue, 22 Jan 2019 15:21:40 -0700 Subject: [PATCH] stick with using Emitter when list box fires, #405 --- js/ComboBoxListBox.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ComboBoxListBox.js b/js/ComboBoxListBox.js index 7f8cdbfe..448d0291 100644 --- a/js/ComboBoxListBox.js +++ b/js/ComboBoxListBox.js @@ -52,9 +52,10 @@ define( require => { }, options ); - // TODO sun#405 It seems it would be better to use FireListener on each ComboBoxListItemNode const firedEmitter = new Emitter( { argumentTypes: [ { validValue: Event } ], + + // Pops down the list box and sets the property.value to match the chosen item. listener: event => { const listItemNode = event.currentTarget;