@visns-studio/visns-components 2.4.3 → 2.4.5
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/components/cms/Field.jsx
CHANGED
|
@@ -464,7 +464,11 @@ const Field = ({
|
|
|
464
464
|
inputValue === null ? '' : inputValue
|
|
465
465
|
}
|
|
466
466
|
options={settings.options}
|
|
467
|
-
|
|
467
|
+
multi={
|
|
468
|
+
settings.multiple
|
|
469
|
+
? settings.multiple
|
|
470
|
+
: false
|
|
471
|
+
}
|
|
468
472
|
/>
|
|
469
473
|
);
|
|
470
474
|
break;
|
|
@@ -478,7 +482,11 @@ const Field = ({
|
|
|
478
482
|
inputValue === null ? '' : inputValue
|
|
479
483
|
}
|
|
480
484
|
options={options}
|
|
481
|
-
|
|
485
|
+
multi={
|
|
486
|
+
settings.multiple
|
|
487
|
+
? settings.multiple
|
|
488
|
+
: false
|
|
489
|
+
}
|
|
482
490
|
/>
|
|
483
491
|
);
|
|
484
492
|
break;
|
|
@@ -699,7 +699,9 @@ const DataGrid = forwardRef(
|
|
|
699
699
|
link: column.link ?? {},
|
|
700
700
|
minWidth: column.minWidth ?? undefined,
|
|
701
701
|
maxWidth: column.maxWidth ?? undefined,
|
|
702
|
-
textVerticalAlign:
|
|
702
|
+
textVerticalAlign: style.text_vertical_align
|
|
703
|
+
? style.text_vertical_align
|
|
704
|
+
: 'center',
|
|
703
705
|
style: (cellProps) => {
|
|
704
706
|
const { id, value } = cellProps;
|
|
705
707
|
let columnStyle = {};
|
package/package.json
CHANGED