dibk-design 0.4.33 → 0.4.34

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.
@@ -110,6 +110,7 @@ var InputField = /*#__PURE__*/function (_React$Component) {
110
110
  disabled: this.props.disabled,
111
111
  type: this.props.type,
112
112
  id: this.props.id,
113
+ key: "".concat(this.props.id).concat(defaultValue ? '-' + defaultValue : ''),
113
114
  onChange: this.props.onChange,
114
115
  onBlur: this.props.onBlur
115
116
  }, _defineProperty(_ref, defaultValue ? 'defaultValue' : 'value', defaultValue || this.props.value), _defineProperty(_ref, "placeholder", this.props.placeholder), _defineProperty(_ref, "className", this.props.hasErrors ? _InputFieldModule.default.hasErrors : ''), _defineProperty(_ref, 'aria-required', this.props.mandatory), _defineProperty(_ref, "style", styleRules), _ref;
@@ -124,6 +125,7 @@ var InputField = /*#__PURE__*/function (_React$Component) {
124
125
  readOnly: this.props.readOnly,
125
126
  disabled: this.props.disabled,
126
127
  id: this.props.id,
128
+ key: "".concat(this.props.id).concat(defaultValue ? '-' + defaultValue : ''),
127
129
  dateFormat: this.props.dateFormat,
128
130
  locale: 'nb',
129
131
  selectsStart: this.props.selectsStart,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dibk-design",
3
- "version": "0.4.33",
3
+ "version": "0.4.34",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",