Skip to content
Merged
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
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,24 @@ const FormSchema = z.object({
});
```

## Known Issues

### Server-Side Rendering (SSR)

The `PhoneInput` component must be used in a **Client Component**. If you see this error:

```
TypeError: Super expression must either be null or a function
```

Add `"use client"` to the top of your file:

```tsx
"use client";
```

This is required because `react-phone-number-input` uses browser APIs that aren't available during SSR.

## Documentation

You can find out more about the API and implementation in the
Expand Down