@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 +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
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
|
-
|
|
224
|
-
|
|
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
|
-
|
|
155
|
-
|
|
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" }
|