cx 23.11.1 → 23.11.2

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.
package/dist/widgets.js CHANGED
@@ -9301,12 +9301,12 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
9301
9301
  if (this.props.multiple) {
9302
9302
  var readOnly = data.disabled || data.readOnly;
9303
9303
  if (isNonEmptyArray(data.records)) {
9304
- var _this$onGetRecordDisp2;
9304
+ var _widget$onGetRecordDi;
9305
9305
  var valueTextFormatter =
9306
- (_this$onGetRecordDisp2 = this.onGetRecordDisplayText) != null
9307
- ? _this$onGetRecordDisp2
9306
+ (_widget$onGetRecordDi = widget.onGetRecordDisplayText) != null
9307
+ ? _widget$onGetRecordDi
9308
9308
  : function (record) {
9309
- return record[_this9.valueTextField];
9309
+ return record[widget.valueTextField];
9310
9310
  };
9311
9311
  text = data.records.map(function (v, i) {
9312
9312
  return /*#__PURE__*/ jsxs(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cx",
3
- "version": "23.11.1",
3
+ "version": "23.11.2",
4
4
  "description": "Advanced JavaScript UI framework for admin and dashboard applications with ready to use grid, form and chart components.",
5
5
  "main": "index.js",
6
6
  "jsnext:main": "src/index.js",
@@ -590,7 +590,7 @@ class LookupComponent extends VDOM.Component {
590
590
  if (this.props.multiple) {
591
591
  let readOnly = data.disabled || data.readOnly;
592
592
  if (isNonEmptyArray(data.records)) {
593
- let valueTextFormatter = this.onGetRecordDisplayText ?? ((record) => record[this.valueTextField]);
593
+ let valueTextFormatter = widget.onGetRecordDisplayText ?? ((record) => record[widget.valueTextField]);
594
594
  text = data.records.map((v, i) => (
595
595
  <div
596
596
  key={i}