cx 23.11.0 → 23.11.1
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/manifest.js +567 -567
- package/dist/widgets.js +21 -7
- package/package.json +1 -1
- package/src/widgets/form/LookupField.d.ts +174 -171
- package/src/widgets/form/LookupField.js +8 -3
package/dist/widgets.js
CHANGED
|
@@ -8808,12 +8808,18 @@ var LookupField = /*#__PURE__*/ (function (_Field) {
|
|
|
8808
8808
|
records = _instance$data.records,
|
|
8809
8809
|
values = _instance$data.values,
|
|
8810
8810
|
options = _instance$data.options;
|
|
8811
|
-
if (isArray(records))
|
|
8812
|
-
|
|
8813
|
-
|
|
8814
|
-
|
|
8815
|
-
|
|
8816
|
-
|
|
8811
|
+
if (isArray(records)) {
|
|
8812
|
+
var _this$onGetRecordDisp;
|
|
8813
|
+
var valueTextFormatter =
|
|
8814
|
+
(_this$onGetRecordDisp = this.onGetRecordDisplayText) != null
|
|
8815
|
+
? _this$onGetRecordDisp
|
|
8816
|
+
: function (record) {
|
|
8817
|
+
return record[_this3.valueTextField] || record[_this3.valueIdField];
|
|
8818
|
+
};
|
|
8819
|
+
return records.map(function (record) {
|
|
8820
|
+
return valueTextFormatter(record, instance);
|
|
8821
|
+
});
|
|
8822
|
+
}
|
|
8817
8823
|
if (isArray(values)) {
|
|
8818
8824
|
if (isArray(options))
|
|
8819
8825
|
return values
|
|
@@ -8861,6 +8867,7 @@ LookupField.prototype.submitOnDropdownEnterKey = false;
|
|
|
8861
8867
|
LookupField.prototype.pageSize = 100;
|
|
8862
8868
|
LookupField.prototype.infinite = false;
|
|
8863
8869
|
LookupField.prototype.quickSelectAll = false;
|
|
8870
|
+
LookupField.prototype.onGetRecordDisplayText = null;
|
|
8864
8871
|
Localization.registerPrototype("cx/widgets/LookupField", LookupField);
|
|
8865
8872
|
Widget.alias("lookupfield", LookupField);
|
|
8866
8873
|
function getOptionKey(bindings, data) {
|
|
@@ -9294,6 +9301,13 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
|
|
|
9294
9301
|
if (this.props.multiple) {
|
|
9295
9302
|
var readOnly = data.disabled || data.readOnly;
|
|
9296
9303
|
if (isNonEmptyArray(data.records)) {
|
|
9304
|
+
var _this$onGetRecordDisp2;
|
|
9305
|
+
var valueTextFormatter =
|
|
9306
|
+
(_this$onGetRecordDisp2 = this.onGetRecordDisplayText) != null
|
|
9307
|
+
? _this$onGetRecordDisp2
|
|
9308
|
+
: function (record) {
|
|
9309
|
+
return record[_this9.valueTextField];
|
|
9310
|
+
};
|
|
9297
9311
|
text = data.records.map(function (v, i) {
|
|
9298
9312
|
return /*#__PURE__*/ jsxs(
|
|
9299
9313
|
"div",
|
|
@@ -9304,7 +9318,7 @@ var LookupComponent = /*#__PURE__*/ (function (_VDOM$Component) {
|
|
|
9304
9318
|
children: [
|
|
9305
9319
|
/*#__PURE__*/ jsx("span", {
|
|
9306
9320
|
className: CSS.element(baseClass, "tag-value"),
|
|
9307
|
-
children: v
|
|
9321
|
+
children: valueTextFormatter(v, instance),
|
|
9308
9322
|
}),
|
|
9309
9323
|
!readOnly &&
|
|
9310
9324
|
/*#__PURE__*/ jsx("div", {
|
package/package.json
CHANGED
|
@@ -1,171 +1,174 @@
|
|
|
1
|
-
import { Instance } from "./../../ui/Instance";
|
|
2
|
-
import * as Cx from "../../core";
|
|
3
|
-
import { FieldProps } from "./Field";
|
|
4
|
-
|
|
5
|
-
export interface LookupBinding {
|
|
6
|
-
local: string;
|
|
7
|
-
remote: string;
|
|
8
|
-
key?: boolean;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
interface LookupFieldProps extends FieldProps {
|
|
12
|
-
/** Defaults to `false`. Set to `true` to enable multiple selection. */
|
|
13
|
-
multiple?: Cx.BooleanProp;
|
|
14
|
-
|
|
15
|
-
/** Selected value. Used only if `multiple` is set to `false`. */
|
|
16
|
-
value?: Cx.Prop<number | string>;
|
|
17
|
-
|
|
18
|
-
/** A list of selected ids. Used only if `multiple` is set to `true`. */
|
|
19
|
-
values?: Cx.Prop<any[]>;
|
|
20
|
-
|
|
21
|
-
/** A list of selected records. Used only if `multiple` is set to `true`. */
|
|
22
|
-
records?: Cx.RecordsProp;
|
|
23
|
-
|
|
24
|
-
/** Text associated with the selection. Used only if `multiple` is set to `false`. */
|
|
25
|
-
text?: Cx.StringProp;
|
|
26
|
-
|
|
27
|
-
/** The opposite of `disabled`. */
|
|
28
|
-
enabled?: Cx.BooleanProp;
|
|
29
|
-
|
|
30
|
-
/** Default text displayed when the field is empty. */
|
|
31
|
-
placeholder?: Cx.StringProp;
|
|
32
|
-
|
|
33
|
-
/** A list of available options. */
|
|
34
|
-
options?: Cx.RecordsProp;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Set to `true` to hide the clear button. It can be used interchangeably with the `showClear` property.
|
|
38
|
-
* No effect if `multiple` is used. Default value is `false`.
|
|
39
|
-
*/
|
|
40
|
-
hideClear?: boolean;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Set to `false` to hide the clear button. It can be used interchangeably with the `hideClear` property.
|
|
44
|
-
* No effect if `multiple` is used. Default value is `true`.
|
|
45
|
-
*/
|
|
46
|
-
showClear?: boolean;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Set to `true` to display the clear button even if `required` is set. Default is `false`.
|
|
50
|
-
*/
|
|
51
|
-
alwaysShowClear?: boolean;
|
|
52
|
-
|
|
53
|
-
/** Base CSS class to be applied to the field. Defaults to `lookupfield`. */
|
|
54
|
-
baseClass?: string;
|
|
55
|
-
|
|
56
|
-
/* TODO: Check type */
|
|
57
|
-
|
|
58
|
-
/** Additional config to be applied to all items */
|
|
59
|
-
itemsConfig?: any;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* An array of objects describing the mapping of option data to store data.
|
|
63
|
-
* Each entry must define `local`, `remote` bindings. `key: true` is used to indicate fields that are used in the primary key.
|
|
64
|
-
*/
|
|
65
|
-
bindings?: LookupBinding[];
|
|
66
|
-
|
|
67
|
-
/** A delay in milliseconds between the moment the user stops typing and when tha query is made. Default value is `150`. */
|
|
68
|
-
queryDelay?: number;
|
|
69
|
-
|
|
70
|
-
/** Minimal number of characters required before query is made. */
|
|
71
|
-
minQueryLength?: number;
|
|
72
|
-
|
|
73
|
-
/** Set to `true` to hide the search field. */
|
|
74
|
-
hideSearchField?: boolean;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Number of options required to show the search field.
|
|
78
|
-
* If there are only a few options, there is no need for search. Defaults to `7`.
|
|
79
|
-
*/
|
|
80
|
-
minOptionsForSearchField?: number;
|
|
81
|
-
|
|
82
|
-
/** Text to display while data is being loaded. */
|
|
83
|
-
loadingText?: string;
|
|
84
|
-
|
|
85
|
-
/** Error message displayed to the user if server query throws an exception. */
|
|
86
|
-
queryErrorText?: string;
|
|
87
|
-
|
|
88
|
-
/** Message to be displayed if no entries match the user query. */
|
|
89
|
-
noResultsText?: string;
|
|
90
|
-
|
|
91
|
-
/** Name of the field which holds the id of the option. Default value is `id`. */
|
|
92
|
-
optionIdField?: string;
|
|
93
|
-
|
|
94
|
-
/** Name of the field which holds the display text of the option. Default value is `text`. */
|
|
95
|
-
optionTextField?: string;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Available only in `multiple` selection mode and without custom `bindings`.
|
|
99
|
-
* Name of the field to store id of the selected value. Default value is `id`.
|
|
100
|
-
*/
|
|
101
|
-
valueIdField?: string;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Available only in `multiple` selection mode.
|
|
105
|
-
* Name of the field to store display text of the selected value. Default value is `text`.
|
|
106
|
-
*/
|
|
107
|
-
valueTextField?: string;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* If `true` `onQuery` will be called only once to fetch all options.
|
|
111
|
-
* After that options are filtered client-side.
|
|
112
|
-
*/
|
|
113
|
-
fetchAll?: boolean;
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* If this flag is set along with `fetchAll`, fetched options are cached for the lifetime of the widget.
|
|
117
|
-
* Otherwise, data is fetched whenever the dropdown is shown.
|
|
118
|
-
*/
|
|
119
|
-
cacheAll?: boolean;
|
|
120
|
-
|
|
121
|
-
/** Close the dropdown after selection. Default is `true`. */
|
|
122
|
-
closeOnSelect?: boolean;
|
|
123
|
-
|
|
124
|
-
/** Mesasge to be displayed to the user if the entered search query is too short. */
|
|
125
|
-
minQueryLengthMessageText?: string;
|
|
126
|
-
|
|
127
|
-
/** Name of the icon to be put on the left side of the input. */
|
|
128
|
-
icon?: Cx.StringProp;
|
|
129
|
-
|
|
130
|
-
/** Query function. */
|
|
131
|
-
onQuery?: (
|
|
132
|
-
query: string | { query: string; page: number; pageSize: number },
|
|
133
|
-
instance: Instance
|
|
134
|
-
) => Cx.Record[] | Promise<Cx.Record>;
|
|
135
|
-
|
|
136
|
-
/** Set to true to sort dropdown options. */
|
|
137
|
-
sort?: boolean;
|
|
138
|
-
|
|
139
|
-
/** Additional list options, such as grouping configuration, custom sorting, etc. */
|
|
140
|
-
listOptions?: Cx.Config;
|
|
141
|
-
|
|
142
|
-
/** Set to true to show the dropdown immediately after the component has mounted.
|
|
143
|
-
* This is commonly used for cell editing in grids. */
|
|
144
|
-
autoOpen?: Cx.BooleanProp;
|
|
145
|
-
|
|
146
|
-
/** Set to true to allow enter key events to be propagated. This is useful for submitting forms or closing grid cell editors. */
|
|
147
|
-
submitOnEnterKey?: Cx.BooleanProp;
|
|
148
|
-
|
|
149
|
-
/** Set to true to allow dropdown enter key events to be propagated. This is useful for submitting forms on dropdown enter key selection. */
|
|
150
|
-
submitOnDropdownEnterKey?: Cx.BooleanProp;
|
|
151
|
-
|
|
152
|
-
/** Defaults to `false`. Used to make the field read-only. */
|
|
153
|
-
readOnly?: Cx.BooleanProp;
|
|
154
|
-
|
|
155
|
-
/** Set to `true` to enable loading of additional lookup options when the scroll is reaching the end. */
|
|
156
|
-
infinite?: boolean;
|
|
157
|
-
|
|
158
|
-
/** Number of additional items to be loaded in `infinite` mode. Default is 100. */
|
|
159
|
-
pageSize?: number;
|
|
160
|
-
|
|
161
|
-
/** Set to `true` to allow quick selection of all displayed lookup items on `ctrl + a` keys combination. */
|
|
162
|
-
quickSelectAll?: boolean;
|
|
163
|
-
|
|
164
|
-
/** Parameters that affect filtering. */
|
|
165
|
-
filterParams?: Cx.StructuredProp;
|
|
166
|
-
|
|
167
|
-
/** Callback to create a filter function for given filter params. */
|
|
168
|
-
onCreateVisibleOptionsFilter?: (filterParams: any, instance?: Instance) => (record: Record) => boolean;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
1
|
+
import { Instance } from "./../../ui/Instance";
|
|
2
|
+
import * as Cx from "../../core";
|
|
3
|
+
import { FieldProps } from "./Field";
|
|
4
|
+
|
|
5
|
+
export interface LookupBinding {
|
|
6
|
+
local: string;
|
|
7
|
+
remote: string;
|
|
8
|
+
key?: boolean;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface LookupFieldProps extends FieldProps {
|
|
12
|
+
/** Defaults to `false`. Set to `true` to enable multiple selection. */
|
|
13
|
+
multiple?: Cx.BooleanProp;
|
|
14
|
+
|
|
15
|
+
/** Selected value. Used only if `multiple` is set to `false`. */
|
|
16
|
+
value?: Cx.Prop<number | string>;
|
|
17
|
+
|
|
18
|
+
/** A list of selected ids. Used only if `multiple` is set to `true`. */
|
|
19
|
+
values?: Cx.Prop<any[]>;
|
|
20
|
+
|
|
21
|
+
/** A list of selected records. Used only if `multiple` is set to `true`. */
|
|
22
|
+
records?: Cx.RecordsProp;
|
|
23
|
+
|
|
24
|
+
/** Text associated with the selection. Used only if `multiple` is set to `false`. */
|
|
25
|
+
text?: Cx.StringProp;
|
|
26
|
+
|
|
27
|
+
/** The opposite of `disabled`. */
|
|
28
|
+
enabled?: Cx.BooleanProp;
|
|
29
|
+
|
|
30
|
+
/** Default text displayed when the field is empty. */
|
|
31
|
+
placeholder?: Cx.StringProp;
|
|
32
|
+
|
|
33
|
+
/** A list of available options. */
|
|
34
|
+
options?: Cx.RecordsProp;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Set to `true` to hide the clear button. It can be used interchangeably with the `showClear` property.
|
|
38
|
+
* No effect if `multiple` is used. Default value is `false`.
|
|
39
|
+
*/
|
|
40
|
+
hideClear?: boolean;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Set to `false` to hide the clear button. It can be used interchangeably with the `hideClear` property.
|
|
44
|
+
* No effect if `multiple` is used. Default value is `true`.
|
|
45
|
+
*/
|
|
46
|
+
showClear?: boolean;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Set to `true` to display the clear button even if `required` is set. Default is `false`.
|
|
50
|
+
*/
|
|
51
|
+
alwaysShowClear?: boolean;
|
|
52
|
+
|
|
53
|
+
/** Base CSS class to be applied to the field. Defaults to `lookupfield`. */
|
|
54
|
+
baseClass?: string;
|
|
55
|
+
|
|
56
|
+
/* TODO: Check type */
|
|
57
|
+
|
|
58
|
+
/** Additional config to be applied to all items */
|
|
59
|
+
itemsConfig?: any;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* An array of objects describing the mapping of option data to store data.
|
|
63
|
+
* Each entry must define `local`, `remote` bindings. `key: true` is used to indicate fields that are used in the primary key.
|
|
64
|
+
*/
|
|
65
|
+
bindings?: LookupBinding[];
|
|
66
|
+
|
|
67
|
+
/** A delay in milliseconds between the moment the user stops typing and when tha query is made. Default value is `150`. */
|
|
68
|
+
queryDelay?: number;
|
|
69
|
+
|
|
70
|
+
/** Minimal number of characters required before query is made. */
|
|
71
|
+
minQueryLength?: number;
|
|
72
|
+
|
|
73
|
+
/** Set to `true` to hide the search field. */
|
|
74
|
+
hideSearchField?: boolean;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Number of options required to show the search field.
|
|
78
|
+
* If there are only a few options, there is no need for search. Defaults to `7`.
|
|
79
|
+
*/
|
|
80
|
+
minOptionsForSearchField?: number;
|
|
81
|
+
|
|
82
|
+
/** Text to display while data is being loaded. */
|
|
83
|
+
loadingText?: string;
|
|
84
|
+
|
|
85
|
+
/** Error message displayed to the user if server query throws an exception. */
|
|
86
|
+
queryErrorText?: string;
|
|
87
|
+
|
|
88
|
+
/** Message to be displayed if no entries match the user query. */
|
|
89
|
+
noResultsText?: string;
|
|
90
|
+
|
|
91
|
+
/** Name of the field which holds the id of the option. Default value is `id`. */
|
|
92
|
+
optionIdField?: string;
|
|
93
|
+
|
|
94
|
+
/** Name of the field which holds the display text of the option. Default value is `text`. */
|
|
95
|
+
optionTextField?: string;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Available only in `multiple` selection mode and without custom `bindings`.
|
|
99
|
+
* Name of the field to store id of the selected value. Default value is `id`.
|
|
100
|
+
*/
|
|
101
|
+
valueIdField?: string;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Available only in `multiple` selection mode.
|
|
105
|
+
* Name of the field to store display text of the selected value. Default value is `text`.
|
|
106
|
+
*/
|
|
107
|
+
valueTextField?: string;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* If `true` `onQuery` will be called only once to fetch all options.
|
|
111
|
+
* After that options are filtered client-side.
|
|
112
|
+
*/
|
|
113
|
+
fetchAll?: boolean;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* If this flag is set along with `fetchAll`, fetched options are cached for the lifetime of the widget.
|
|
117
|
+
* Otherwise, data is fetched whenever the dropdown is shown.
|
|
118
|
+
*/
|
|
119
|
+
cacheAll?: boolean;
|
|
120
|
+
|
|
121
|
+
/** Close the dropdown after selection. Default is `true`. */
|
|
122
|
+
closeOnSelect?: boolean;
|
|
123
|
+
|
|
124
|
+
/** Mesasge to be displayed to the user if the entered search query is too short. */
|
|
125
|
+
minQueryLengthMessageText?: string;
|
|
126
|
+
|
|
127
|
+
/** Name of the icon to be put on the left side of the input. */
|
|
128
|
+
icon?: Cx.StringProp;
|
|
129
|
+
|
|
130
|
+
/** Query function. */
|
|
131
|
+
onQuery?: (
|
|
132
|
+
query: string | { query: string; page: number; pageSize: number },
|
|
133
|
+
instance: Instance
|
|
134
|
+
) => Cx.Record[] | Promise<Cx.Record>;
|
|
135
|
+
|
|
136
|
+
/** Set to true to sort dropdown options. */
|
|
137
|
+
sort?: boolean;
|
|
138
|
+
|
|
139
|
+
/** Additional list options, such as grouping configuration, custom sorting, etc. */
|
|
140
|
+
listOptions?: Cx.Config;
|
|
141
|
+
|
|
142
|
+
/** Set to true to show the dropdown immediately after the component has mounted.
|
|
143
|
+
* This is commonly used for cell editing in grids. */
|
|
144
|
+
autoOpen?: Cx.BooleanProp;
|
|
145
|
+
|
|
146
|
+
/** Set to true to allow enter key events to be propagated. This is useful for submitting forms or closing grid cell editors. */
|
|
147
|
+
submitOnEnterKey?: Cx.BooleanProp;
|
|
148
|
+
|
|
149
|
+
/** Set to true to allow dropdown enter key events to be propagated. This is useful for submitting forms on dropdown enter key selection. */
|
|
150
|
+
submitOnDropdownEnterKey?: Cx.BooleanProp;
|
|
151
|
+
|
|
152
|
+
/** Defaults to `false`. Used to make the field read-only. */
|
|
153
|
+
readOnly?: Cx.BooleanProp;
|
|
154
|
+
|
|
155
|
+
/** Set to `true` to enable loading of additional lookup options when the scroll is reaching the end. */
|
|
156
|
+
infinite?: boolean;
|
|
157
|
+
|
|
158
|
+
/** Number of additional items to be loaded in `infinite` mode. Default is 100. */
|
|
159
|
+
pageSize?: number;
|
|
160
|
+
|
|
161
|
+
/** Set to `true` to allow quick selection of all displayed lookup items on `ctrl + a` keys combination. */
|
|
162
|
+
quickSelectAll?: boolean;
|
|
163
|
+
|
|
164
|
+
/** Parameters that affect filtering. */
|
|
165
|
+
filterParams?: Cx.StructuredProp;
|
|
166
|
+
|
|
167
|
+
/** Callback to create a filter function for given filter params. */
|
|
168
|
+
onCreateVisibleOptionsFilter?: (filterParams: any, instance?: Instance) => (record: Record) => boolean;
|
|
169
|
+
|
|
170
|
+
/** Used in multiple selection lookups in combination with records, to construct the display text out of multiple fields or when additional formatting is needed. */
|
|
171
|
+
onGetRecordDisplayText?: (record: any, instance?: Instance) => string;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export class LookupField extends Cx.Widget<LookupFieldProps> {}
|
|
@@ -204,8 +204,11 @@ export class LookupField extends Field {
|
|
|
204
204
|
if (!this.multiple) return super.formatValue(context, instance);
|
|
205
205
|
|
|
206
206
|
let { records, values, options } = instance.data;
|
|
207
|
-
if (isArray(records))
|
|
208
|
-
|
|
207
|
+
if (isArray(records)) {
|
|
208
|
+
let valueTextFormatter =
|
|
209
|
+
this.onGetRecordDisplayText ?? ((record) => record[this.valueTextField] || record[this.valueIdField]);
|
|
210
|
+
return records.map((record) => valueTextFormatter(record, instance));
|
|
211
|
+
}
|
|
209
212
|
|
|
210
213
|
if (isArray(values)) {
|
|
211
214
|
if (isArray(options))
|
|
@@ -254,6 +257,7 @@ LookupField.prototype.submitOnDropdownEnterKey = false;
|
|
|
254
257
|
LookupField.prototype.pageSize = 100;
|
|
255
258
|
LookupField.prototype.infinite = false;
|
|
256
259
|
LookupField.prototype.quickSelectAll = false;
|
|
260
|
+
LookupField.prototype.onGetRecordDisplayText = null;
|
|
257
261
|
|
|
258
262
|
Localization.registerPrototype("cx/widgets/LookupField", LookupField);
|
|
259
263
|
|
|
@@ -586,6 +590,7 @@ class LookupComponent extends VDOM.Component {
|
|
|
586
590
|
if (this.props.multiple) {
|
|
587
591
|
let readOnly = data.disabled || data.readOnly;
|
|
588
592
|
if (isNonEmptyArray(data.records)) {
|
|
593
|
+
let valueTextFormatter = this.onGetRecordDisplayText ?? ((record) => record[this.valueTextField]);
|
|
589
594
|
text = data.records.map((v, i) => (
|
|
590
595
|
<div
|
|
591
596
|
key={i}
|
|
@@ -593,7 +598,7 @@ class LookupComponent extends VDOM.Component {
|
|
|
593
598
|
readonly: readOnly,
|
|
594
599
|
})}
|
|
595
600
|
>
|
|
596
|
-
<span className={CSS.element(baseClass, "tag-value")}>{v
|
|
601
|
+
<span className={CSS.element(baseClass, "tag-value")}>{valueTextFormatter(v, instance)}</span>
|
|
597
602
|
{!readOnly && (
|
|
598
603
|
<div
|
|
599
604
|
className={CSS.element(baseClass, "tag-clear")}
|