@apexcura/ui-components 0.0.15-Beta45 → 0.0.15-Beta46

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/index.js CHANGED
@@ -217,11 +217,10 @@ var SelectElement = (props) => {
217
217
  allowClear: true,
218
218
  filterOption: filterOptions,
219
219
  showSearch: true,
220
- defaultValue: props.defaultValue,
221
220
  className: props.className,
222
221
  onChange: handleChange,
223
- value: props.value,
224
- mode: props.mode
222
+ mode: props.mode,
223
+ value: props.value
225
224
  }
226
225
  ));
227
226
  };
@@ -260,6 +259,7 @@ var RadioElement = (props) => {
260
259
  handleChange(option);
261
260
  },
262
261
  key: option.value,
262
+ value: option.value,
263
263
  disabled: isDisabled && selectedValue !== option.value,
264
264
  className: getButtonStyle(option),
265
265
  style: { pointerEvents: isDisabled && selectedValue !== option.value ? "none" : "auto" }
package/dist/index.mjs CHANGED
@@ -148,11 +148,10 @@ var SelectElement = (props) => {
148
148
  allowClear: true,
149
149
  filterOption: filterOptions,
150
150
  showSearch: true,
151
- defaultValue: props.defaultValue,
152
151
  className: props.className,
153
152
  onChange: handleChange,
154
- value: props.value,
155
- mode: props.mode
153
+ mode: props.mode,
154
+ value: props.value
156
155
  }
157
156
  ));
158
157
  };
@@ -191,6 +190,7 @@ var RadioElement = (props) => {
191
190
  handleChange(option);
192
191
  },
193
192
  key: option.value,
193
+ value: option.value,
194
194
  disabled: isDisabled && selectedValue !== option.value,
195
195
  className: getButtonStyle(option),
196
196
  style: { pointerEvents: isDisabled && selectedValue !== option.value ? "none" : "auto" }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.15-Beta45",
3
+ "version": "0.0.15-Beta46",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",