@vtx/components 4.0.0-beta.45 → 4.0.0-beta.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -74,8 +74,8 @@ var VtxCombogrid = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
74
74
|
ref: comboRef
|
|
75
75
|
})),
|
|
76
76
|
trigger: "click",
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
open: disabled ? false : visible,
|
|
78
|
+
onOpenChange: function onOpenChange(visible) {
|
|
79
79
|
return setVisible(visible);
|
|
80
80
|
},
|
|
81
81
|
classNames: {
|
package/es/vtx-select/index.js
CHANGED
|
@@ -135,8 +135,9 @@ var VtxSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
135
135
|
});
|
|
136
136
|
};
|
|
137
137
|
var newProps = _objectSpread(_objectSpread({
|
|
138
|
-
showSearch:
|
|
139
|
-
|
|
138
|
+
showSearch: {
|
|
139
|
+
optionFilterProp: 'label'
|
|
140
|
+
},
|
|
140
141
|
placeholder: TextEnum.defaultPlaceholderText,
|
|
141
142
|
allowClear: true
|
|
142
143
|
}, props), {}, {
|
|
@@ -83,8 +83,8 @@ var VtxCombogrid = exports.VtxCombogrid = /*#__PURE__*/(0, _react.forwardRef)(fu
|
|
|
83
83
|
ref: comboRef
|
|
84
84
|
})),
|
|
85
85
|
trigger: "click",
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
open: disabled ? false : visible,
|
|
87
|
+
onOpenChange: function onOpenChange(visible) {
|
|
88
88
|
return setVisible(visible);
|
|
89
89
|
},
|
|
90
90
|
classNames: {
|
package/lib/vtx-select/index.js
CHANGED
|
@@ -143,8 +143,9 @@ var VtxSelect = exports.VtxSelect = /*#__PURE__*/(0, _react.forwardRef)(function
|
|
|
143
143
|
});
|
|
144
144
|
};
|
|
145
145
|
var newProps = _objectSpread(_objectSpread({
|
|
146
|
-
showSearch:
|
|
147
|
-
|
|
146
|
+
showSearch: {
|
|
147
|
+
optionFilterProp: 'label'
|
|
148
|
+
},
|
|
148
149
|
placeholder: TextEnum.defaultPlaceholderText,
|
|
149
150
|
allowClear: true
|
|
150
151
|
}, props), {}, {
|