feat: add schedule integration
This commit is contained in:
@@ -29,6 +29,9 @@ const validateSubstep = (substep: ISubstep, step: IStep) => {
|
||||
|
||||
const argValue = step.parameters?.[arg.key];
|
||||
|
||||
// `false` is an exceptional valid value
|
||||
if (argValue === false) return true;
|
||||
|
||||
return Boolean(argValue);
|
||||
});
|
||||
};
|
||||
@@ -52,7 +55,6 @@ function FlowSubstep(props: FlowSubstepProps): React.ReactElement {
|
||||
const formContext = useFormContext();
|
||||
const [validationStatus, setValidationStatus] = React.useState<boolean | null>(validateSubstep(substep, formContext.getValues() as IStep));
|
||||
|
||||
|
||||
const handleChangeOnBlur = React.useCallback((key: string) => {
|
||||
return (value: string) => {
|
||||
const currentValue = step.parameters?.[key];
|
||||
|
Reference in New Issue
Block a user