iguazio.dashboard-react-controls 2.2.16 → 2.2.17

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.
@@ -82,6 +82,9 @@ const FormChipCell = _ref => {
82
82
  isValueFocused: false,
83
83
  isNewChip: false
84
84
  });
85
+ (0, _react.useEffect)(() => {
86
+ formState.form.change('labelsAreInEditMode', editConfig.isEdit);
87
+ }, [editConfig.isEdit, formState.form]);
85
88
  let chips = (0, _react.useMemo)(() => {
86
89
  return isEditable || visibleChipsMaxLength === 'all' ? {
87
90
  visibleChips: (0, _lodash.get)(formState.values, name),
@@ -75,7 +75,6 @@ const FormChipCellView = /*#__PURE__*/_react.default.forwardRef((_ref, _ref2) =>
75
75
  const chipClassNames = (0, _classnames.default)('chip', 'chip__content', isEditable && 'data-ellipsis', shortChips && 'chip_short', chips.hiddenChips && 'chip_hidden', chipOptions.density && "chip-density_".concat(chipOptions.density), chipOptions.borderRadius && "chip-border_".concat(chipOptions.borderRadius), chipOptions.background && "chip-background_".concat(chipOptions.background), chipOptions.borderColor && "chip-border_".concat(chipOptions.borderColor), chipOptions.font && "chip-font_".concat(chipOptions.font), isEditable && 'editable', (showChips || isEditable) && 'chip_visible');
76
76
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactFinalFormArrays.FieldArray, {
77
77
  name: name,
78
- initialValue: formState.initialValues[name],
79
78
  validate: validateFields,
80
79
  children: _ref3 => {
81
80
  let {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iguazio.dashboard-react-controls",
3
- "version": "2.2.16",
3
+ "version": "2.2.17",
4
4
  "description": "Collection of resources (such as CSS styles, fonts and images) and ReactJS 17.x components to share among different Iguazio React repos.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",