You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given <select class="mySelectHtml" data-zd-type="combo_select_menu"> <option value="foo">FOO</option> <option selected value="bar">BAR</option> </select>
Method 1: all data-zd-type seems to auto-initialize when this.switchTo('template') is called
Method 2: if you dynamically insert a component like this.$('.container').html(this.renderTemplate('comboSelect.hdbs')), and don't use this.switchTo to render that template, you must initialize menu manually like this
Given
<select class="mySelectHtml" data-zd-type="combo_select_menu"> <option value="foo">FOO</option> <option selected value="bar">BAR</option> </select>
Method 1: all data-zd-type seems to auto-initialize when this.switchTo('template') is called
Method 2: if you dynamically insert a component like
this.$('.container').html(this.renderTemplate('comboSelect.hdbs'))
, and don't use this.switchTo to render that template, you must initialize menu manually like thisthis.$('.mySelectHtml').zdComboSelectMenu();
this.$('.mySelectHtml').zdSelectMenu();
The text was updated successfully, but these errors were encountered: