@bsol-oss/react-datatable5 12.0.0-beta.40 → 12.0.0-beta.41
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
|
@@ -4909,7 +4909,7 @@ function TimePicker$1({ hour, setHour, minute, setMinute, meridiem, setMeridiem,
|
|
|
4909
4909
|
const TimePicker = ({ column, schema, prefix }) => {
|
|
4910
4910
|
const { watch, formState: { errors }, setValue, } = reactHookForm.useFormContext();
|
|
4911
4911
|
const { translate } = useSchemaContext();
|
|
4912
|
-
const { required, gridColumn = "span 4", gridRow = "span 1", format } = schema;
|
|
4912
|
+
const { required, gridColumn = "span 4", gridRow = "span 1", format = "HH:mm:ss" } = schema;
|
|
4913
4913
|
const isRequired = required?.some((columnId) => columnId === column);
|
|
4914
4914
|
const colLabel = `${prefix}${column}`;
|
|
4915
4915
|
const [open, setOpen] = React.useState(false);
|
package/dist/index.mjs
CHANGED
|
@@ -4889,7 +4889,7 @@ function TimePicker$1({ hour, setHour, minute, setMinute, meridiem, setMeridiem,
|
|
|
4889
4889
|
const TimePicker = ({ column, schema, prefix }) => {
|
|
4890
4890
|
const { watch, formState: { errors }, setValue, } = useFormContext();
|
|
4891
4891
|
const { translate } = useSchemaContext();
|
|
4892
|
-
const { required, gridColumn = "span 4", gridRow = "span 1", format } = schema;
|
|
4892
|
+
const { required, gridColumn = "span 4", gridRow = "span 1", format = "HH:mm:ss" } = schema;
|
|
4893
4893
|
const isRequired = required?.some((columnId) => columnId === column);
|
|
4894
4894
|
const colLabel = `${prefix}${column}`;
|
|
4895
4895
|
const [open, setOpen] = useState(false);
|