@bsol-oss/react-datatable5 12.0.0-beta.29 → 12.0.0-beta.30
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4870,7 +4870,7 @@ const CustomViewer = ({ column, schema, prefix }) => {
|
|
|
4870
4870
|
const DateViewer = ({ column, schema, prefix }) => {
|
|
4871
4871
|
const { watch, formState: { errors }, } = reactHookForm.useFormContext();
|
|
4872
4872
|
const { translate } = useSchemaContext();
|
|
4873
|
-
const { required, gridColumn, gridRow, displayDateFormat = "YYYY-MM-DD", } = schema;
|
|
4873
|
+
const { required, gridColumn = "span 4", gridRow = "span 1", displayDateFormat = "YYYY-MM-DD", } = schema;
|
|
4874
4874
|
const isRequired = required?.some((columnId) => columnId === column);
|
|
4875
4875
|
const colLabel = `${prefix}${column}`;
|
|
4876
4876
|
const selectedDate = watch(colLabel);
|
package/dist/index.mjs
CHANGED
|
@@ -4850,7 +4850,7 @@ const CustomViewer = ({ column, schema, prefix }) => {
|
|
|
4850
4850
|
const DateViewer = ({ column, schema, prefix }) => {
|
|
4851
4851
|
const { watch, formState: { errors }, } = useFormContext();
|
|
4852
4852
|
const { translate } = useSchemaContext();
|
|
4853
|
-
const { required, gridColumn, gridRow, displayDateFormat = "YYYY-MM-DD", } = schema;
|
|
4853
|
+
const { required, gridColumn = "span 4", gridRow = "span 1", displayDateFormat = "YYYY-MM-DD", } = schema;
|
|
4854
4854
|
const isRequired = required?.some((columnId) => columnId === column);
|
|
4855
4855
|
const colLabel = `${prefix}${column}`;
|
|
4856
4856
|
const selectedDate = watch(colLabel);
|