@oliasoft-open-source/react-ui-library 4.13.0-beta-5 → 4.13.0-beta-7

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
@@ -70571,7 +70571,16 @@ const UnitInput = ({
70571
70571
  predefinedOptions,
70572
70572
  displayLayer,
70573
70573
  onPredefinedOptionSelect: (newValue, option2) => {
70574
- if (!(option2 == null ? void 0 : option2.linked)) {
70574
+ if (option2 == null ? void 0 : option2.linked) {
70575
+ onChange({
70576
+ target: {
70577
+ value,
70578
+ name: stringName,
70579
+ predefinedSelected: true,
70580
+ predefinedOption: option2
70581
+ }
70582
+ });
70583
+ } else {
70575
70584
  onChange({
70576
70585
  target: {
70577
70586
  value: newValue,