Skip to content

Commit

Permalink
update pagination input size + set outFormat to YYYY-MM-DD
Browse files Browse the repository at this point in the history
  • Loading branch information
Pawan Kumar authored and Pawan Kumar committed May 16, 2024
1 parent 0b9e515 commit 01e278b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@
}

& [data-table-header-pagination] > [data-field] {
width: 5ch;
width: max-content;
}

& [data-table-header-pagination] > [data-field] input {
text-align: center;
width: 3ch;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ export default {
value: "MM/DD/YY",
},
],
defaultValue: "YYYY-MM-DD HH:mm",
defaultValue: "YYYY-MM-DD",
hidden: (props: TableWidgetProps, propertyPath: string) => {
const baseProperty = getBasePropertyPath(propertyPath);
const columnType = get(props, `${baseProperty}.columnType`, "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const getColumnsPureFn: getColumns = (
metaProperties: {
isHidden: isHidden,
type: column.columnType,
format: column.outputFormat || "",
format: column.outputFormat || "YYYY-MM-DD",
inputFormat: column.inputFormat || "",
decimals: column.decimals || 0,
},
Expand Down

0 comments on commit 01e278b

Please sign in to comment.