File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
frontend/src/components/pages/rp-connect/onboarding Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -369,11 +369,13 @@ export const ConnectTiles = memo(
369369 if ( isChecked ) {
370370 // Unselect if already selected
371371 field . onChange ( '' ) ;
372- form . setValue ( 'connectionType' , '' as ConnectComponentType ) ;
372+ form . setValue ( 'connectionType' , '' as ConnectComponentType , { shouldValidate : true } ) ;
373373 } else {
374374 // Select the component
375375 field . onChange ( component . name ) ;
376- form . setValue ( 'connectionType' , component . type as ConnectComponentType ) ;
376+ form . setValue ( 'connectionType' , component . type as ConnectComponentType , {
377+ shouldValidate : true ,
378+ } ) ;
377379 onChange ?.( component . name , component . type as ConnectComponentType ) ;
378380 }
379381 } }
You can’t perform that action at this time.
0 commit comments