Skip to content

Commit a9b48f6

Browse files
committed
Adds react-select and tries this dumb control again
1 parent 816c3be commit a9b48f6

File tree

3 files changed

+328
-4
lines changed

3 files changed

+328
-4
lines changed

kirki-packages/control-generic/src/control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
wp.customize.controlConstructor["kirki-generic"] =
22
wp.customize.kirkiDynamicControl.extend({
33
initKirkiControl: function (_control) {
4-
const control = _control ?? this;
4+
var control = _control ?? this;
55
const params = control.params;
66

77
control.container.find("input, textarea").on("change input", function () {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"react": "^18.3.1",
1919
"react-colorful": "^5.6.1",
2020
"react-dom": "^18.3.1",
21+
"react-select": "^5.8.0",
2122
"reactcss": "^1.2.3",
2223
"sade": "^1.8.1",
2324
"shelljs": "^0.8.5"

0 commit comments

Comments
 (0)