Closed pixelzoom closed 2 years ago
Noted while working on https://github.com/phetsims/sun/issues/768 ...
PhysicalComboBox specifies tandemName for most items:
// {[].ComboBoxItem} const itemList = []; labelValueList.forEach( entry => { itemList.push( { value: entry.value, node: new Text( entry.label, EnergySkateParkConstants.COMBO_BOX_ITEM_OPTIONS ), tandemName: entry.tandemName } ); } );
... but does not specifiy tandemName for 'custom':
if ( options.supportCustom ) { itemList.push( { value: null, node: new Text( controlsGravityCustomString, EnergySkateParkConstants.COMBO_BOX_ITEM_OPTIONS ) } ); }
Is this an oversight?
Thanks, yes I assume so. I added a tandemName for the "Custom" item and verified it showed up in studio.
tandemName
Noted while working on https://github.com/phetsims/sun/issues/768 ...
PhysicalComboBox specifies tandemName for most items:
... but does not specifiy tandemName for 'custom':
Is this an oversight?