Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into fix/allow-keyboar…
Browse files Browse the repository at this point in the history
…d-accessibility
  • Loading branch information
Jan Stevens committed Jan 2, 2023
2 parents fd2c4f0 + e175fd0 commit 107ba2c
Show file tree
Hide file tree
Showing 17 changed files with 399 additions and 527 deletions.
13 changes: 1 addition & 12 deletions docs/docs/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,10 @@ const handleChange = (value, info) => {
- Type: `boolean`
- Default: `false`

Force the calling code (e.g: +33) to be displayed so the value cannot be empty.

```tsx
<MuiTelInput forceCallingCode />
```

## `splitCallingCode`

- Type: `boolean`
- Default: `false`

Displays the calling code (e.g: +33) as read-only next to the flag and with a divider instead of as part of the input field. Needs `defaultCountry` prop to be defined or will default to `US`.

```tsx
<MuiTelInput splitCallingCode />
<MuiTelInput forceCallingCode />
```

## `focusOnSelectCountry`
Expand Down
Loading

0 comments on commit 107ba2c

Please sign in to comment.