We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eca5f15 commit bf78e79Copy full SHA for bf78e79
packages/troika-3d-ui/src/facade/dat-gui/DatSelectFacade.js
@@ -8,6 +8,7 @@ class DatSelectFacade extends PopupOwner {
8
constructor(parent) {
9
super(parent)
10
this.position = 'relative'
11
+ this.dropdownConfig = null
12
13
this._onItemClick = e => {
14
this.onUpdate(e.target.value)
@@ -114,7 +115,7 @@ class DatSelectFacade extends PopupOwner {
114
115
}, [])
116
117
this._btnChild.children[0] = currentOption ? currentOption.label : '[Select...]'
-
118
+ Object.assign(this.popupContent, this.dropdownConfig)
119
this._menuListDef.data = options
120
121
super.afterUpdate()
0 commit comments