pipeline
parent
09a959153d
commit
e10081a5cd
|
@ -644,6 +644,14 @@ function TabContentDealInfo({ form }) {
|
|||
</CollapseContainer>
|
||||
);
|
||||
|
||||
// set deal phase to 1 when the pipeline changes
|
||||
// without this the user could set a deal phase that is not available for the selected pipeline
|
||||
useEffect(() => {
|
||||
form.setFieldsValue({
|
||||
DealPhase: 1,
|
||||
});
|
||||
}, [pipeline]);
|
||||
|
||||
return (
|
||||
<MySupsenseFallback>
|
||||
<Form form={form} layout="vertical">
|
||||
|
|
Loading…
Reference in New Issue