Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/violet-avocados-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/clerk-js': patch
---

Disable country picker button when form is submitted
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ const PhoneInputBase = forwardRef<HTMLInputElement, PhoneInputProps>((props, ref
borderBottomRightRadius: '0',
borderTopRightRadius: '0',
})}
isDisabled={rest.isDisabled}
>
<Flag iso={iso} />
<Text
Expand Down
1 change: 0 additions & 1 deletion packages/clerk-js/src/ui/primitives/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ type OwnProps = {
isSuccessful?: boolean;
};

// @ts-ignore
export type InputProps = PrimitiveProps<'input'> & StyleVariants<typeof applyVariants> & OwnProps & RequiredProp;

export const Input = React.forwardRef<HTMLInputElement, InputProps>((props, ref) => {
Expand Down