-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(intl-phone-input): add ruNumber priority and empty country state (…
- Loading branch information
1 parent
946e1e8
commit dcd90e8
Showing
11 changed files
with
443 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@alfalab/core-components-intl-phone-input": major | ||
--- | ||
|
||
- Добавлено состояние невыбранной страны — `canBeEmptyCountry` | ||
- Добавлена возможность отключить селект выбора стран — `hideCountrySelect` | ||
- Колбэк `onCountryChange` теперь может принимать undefined в случаях, когда установлен пропс `canBeEmptyCountry: true` | ||
- Добавлен режим приоритета ввода российского номера (при дефолтно выбранном российском флаге ввод числа добавит +7) — `ruNumberPriority` | ||
- Добавлен пропс `clear` для сброса страны при очистке поля |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.