Skip to content

Commit 8a4b168

Browse files
committed
fix: trigger application interface name validation when interface exists
1 parent b04f9f9 commit 8a4b168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/app-interfaces/components/create/app-details.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function FormInner({ helper }: FormInnerProps) {
5656
(appInterface) => appInterface.name.toLowerCase() === appInterfaceName.toLowerCase()
5757
)
5858
setValue('appInterfaceExists', appInterfaceExists)
59-
trigger()
59+
trigger('name')
6060
}
6161
}, [appInterfaceName, loadableAppInterfaces, setValue, trigger])
6262

0 commit comments

Comments
 (0)