File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
src/ui/layouts/connectors/RegisterConnector/CreateConnector Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1241,13 +1241,17 @@ export const CreateConnector: React.FC<{ connectorType: any; state: any }> = ({
12411241 const currentValue = e . target . value ;
12421242 const previousValues = previousValuesRef . current ;
12431243 if ( currentValue !== previousValues ) {
1244- // matchedAuthMethod?.config_schema?.required?.includes(
1245- // elementName,
1246- // ) &&
12471244 onVerify ( ) ;
12481245 }
12491246 previousValuesRef . current = currentValue ;
1250- // inputRef.current.value = currentValue;
1247+ }
1248+ if ( ! e . target . value && previousValuesRef . current ) {
1249+ const currentValue = e . target . value ;
1250+ const previousValues = previousValuesRef . current ;
1251+ if ( currentValue !== previousValues ) {
1252+ onVerify ( ) ;
1253+ }
1254+ previousValuesRef . current = currentValue ;
12511255 }
12521256 } }
12531257 onChange = { ( e : any ) => {
You can’t perform that action at this time.
0 commit comments