mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-06 05:59:25 +08:00
fix(plugin-workflow): fix date type for schedule field (#5816)
This commit is contained in:
parent
fb5c033524
commit
173fa2c05d
@ -16,7 +16,7 @@ import { FieldsSelect } from '../../components/FieldsSelect';
|
||||
import { lang } from '../../locale';
|
||||
|
||||
function dateFieldFilter(field) {
|
||||
return !field.hidden && (field.uiSchema ? field.type === 'date' : false);
|
||||
return !field.hidden && (field.uiSchema ? ['date', 'datetimeTz', 'datetimeNoTz'].includes(field.type) : false);
|
||||
}
|
||||
|
||||
export function OnField({ value: propsValue, onChange }) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user