File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
src/features/transfer/MutateTransferForm/components
StrategyParams/components/StrategyTypeForm Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,12 @@ export const StrategyTypeForm = ({ sourceConnectionType }: StrategyTypeFormProps
3737 } , [ formInstance , sourceConnectionType ] ) ;
3838
3939 return (
40- < Form . Item label = { t ( 'strategyParams' ) } name = { [ 'strategy_params' , 'type' ] } rules = { [ { required : true } ] } >
40+ < Form . Item
41+ label = { t ( 'strategyParams' ) }
42+ name = { [ 'strategy_params' , 'type' ] }
43+ rules = { [ { required : true } ] }
44+ initialValue = "full"
45+ >
4146 < Select
4247 size = "large"
4348 options = { strategyParamsSelectOptions }
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ export const TransferResources = () => {
3030 } ,
3131 ] }
3232 tooltip = { < TooltipText minValue = { MIN_PARALLEL_TASKS } maxValue = { MAX_PARALLEL_TASKS } /> }
33+ initialValue = { 1 }
3334 >
3435 < InputNumber size = "large" min = { MIN_PARALLEL_TASKS } max = { MAX_PARALLEL_TASKS } />
3536 </ Form . Item >
@@ -44,6 +45,7 @@ export const TransferResources = () => {
4445 } ,
4546 ] }
4647 tooltip = { < TooltipText minValue = { MIN_CPU_CORES_PER_TASKS } maxValue = { MAX_CPU_CORES_PER_TASKS } /> }
48+ initialValue = { 1 }
4749 >
4850 < InputNumber size = "large" min = { MIN_CPU_CORES_PER_TASKS } max = { MAX_CPU_CORES_PER_TASKS } />
4951 </ Form . Item >
@@ -63,6 +65,7 @@ export const TransferResources = () => {
6365 maxValue = { `${ MAX_RAM_PER_TASK } ${ t ( 'gib' , { ns : 'file' } ) } ` }
6466 />
6567 }
68+ initialValue = { 1 }
6669 >
6770 < InputNumber size = "large" min = { MIN_RAM_PER_TASK } max = { MAX_RAM_PER_TASK } />
6871 </ Form . Item >
You can’t perform that action at this time.
0 commit comments