Merge branch 'next' into develop

This commit is contained in:
nocobase[bot] 2024-11-19 08:07:36 +00:00
commit be156dcbd1

View File

@ -173,6 +173,12 @@ DatePicker.FilterWithPicker = function FilterWithPicker(props: any) {
showTime: props.showTime ? { defaultValue: dayjs('00:00:00', 'HH:mm:ss') } : false,
format: targetFormat,
picker: targetPicker,
onChange: (val) => {
props.onChange(undefined);
setTimeout(() => {
props.onChange(val);
});
},
};
const field: any = useField();
const [stateProps, setStateProps] = useState(newProps);