diff --git a/.changeset/violet-avocados-fold.md b/.changeset/violet-avocados-fold.md new file mode 100644 index 0000000000..499ad32c43 --- /dev/null +++ b/.changeset/violet-avocados-fold.md @@ -0,0 +1,5 @@ +--- +'@clerk/clerk-js': patch +--- + +Disable country picker button when form is submitted diff --git a/packages/clerk-js/src/ui/elements/PhoneInput/PhoneInput.tsx b/packages/clerk-js/src/ui/elements/PhoneInput/PhoneInput.tsx index fda71753ac..1aec5c0795 100644 --- a/packages/clerk-js/src/ui/elements/PhoneInput/PhoneInput.tsx +++ b/packages/clerk-js/src/ui/elements/PhoneInput/PhoneInput.tsx @@ -111,6 +111,7 @@ const PhoneInputBase = forwardRef((props, ref borderBottomRightRadius: '0', borderTopRightRadius: '0', })} + isDisabled={rest.isDisabled} > & StyleVariants & OwnProps & RequiredProp; export const Input = React.forwardRef((props, ref) => {