@etsoo/materialui 1.6.5 → 1.6.6

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.
@@ -76,7 +76,7 @@ function TagListPro(props) {
76
76
  item.id < 0 &&
77
77
  "name" in item &&
78
78
  item["name"] === moreLabel);
79
- }, getOptionKey: getOptionKey, isOptionEqualToValue: (option, value) => option.id === value.id, noOptionsText: noOptionsText, loadingText: loadingText, openText: openText, value: valueState, onChange: (event, value, reason, details) => {
79
+ }, getOptionKey: getOptionKey, getOptionLabel: getOptionLabel, isOptionEqualToValue: (option, value) => option.id === value.id, noOptionsText: noOptionsText, loadingText: loadingText, openText: openText, value: valueState, onChange: (event, value, reason, details) => {
80
80
  currentValue.current = value;
81
81
  if (onChange)
82
82
  onChange(event, value, reason, details);
@@ -70,7 +70,7 @@ export function TagListPro(props) {
70
70
  item.id < 0 &&
71
71
  "name" in item &&
72
72
  item["name"] === moreLabel);
73
- }, getOptionKey: getOptionKey, isOptionEqualToValue: (option, value) => option.id === value.id, noOptionsText: noOptionsText, loadingText: loadingText, openText: openText, value: valueState, onChange: (event, value, reason, details) => {
73
+ }, getOptionKey: getOptionKey, getOptionLabel: getOptionLabel, isOptionEqualToValue: (option, value) => option.id === value.id, noOptionsText: noOptionsText, loadingText: loadingText, openText: openText, value: valueState, onChange: (event, value, reason, details) => {
74
74
  currentValue.current = value;
75
75
  if (onChange)
76
76
  onChange(event, value, reason, details);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.6.5",
3
+ "version": "1.6.6",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -183,6 +183,7 @@ export function TagListPro<D extends ListType2 = ListType2>(
183
183
  );
184
184
  }}
185
185
  getOptionKey={getOptionKey}
186
+ getOptionLabel={getOptionLabel}
186
187
  isOptionEqualToValue={(option, value) => option.id === value.id}
187
188
  noOptionsText={noOptionsText}
188
189
  loadingText={loadingText}