Skip to content

Commit

Permalink
ComboBox: fix wrong child variant for button (closes #24)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Jan 30, 2020
1 parent 0e9f9fe commit 18e47e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feathers/controls/ComboBox.hx
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ class ComboBox extends FeathersControl implements IDataSelector<Dynamic> {
var factory = this.buttonFactory != null ? this.buttonFactory : defaultButtonFactory;
this.button = factory();
if (this.button.variant == null) {
this.button.variant = PopUpListView.CHILD_VARIANT_BUTTON;
this.button.variant = ComboBox.CHILD_VARIANT_BUTTON;
}
this.button.addEventListener(TriggerEvent.TRIGGER, button_triggerHandler);
this.button.initializeNow();
Expand Down

0 comments on commit 18e47e8

Please sign in to comment.