Skip to content

feat(phone-input): add 'clearableCountyCode' prop #749

Merged
merged 4 commits into from
Jul 19, 2021

Conversation

koretskyhub
Copy link
Contributor

@koretskyhub koretskyhub commented Jul 14, 2021

Добавляет в PhoneInput проп clearableCountyCode

@alfa-bot
Copy link
Collaborator

Собрана новая демка.

@reme3d2y
Copy link
Contributor

Есть косячок — начинаю вводить 999 и каретка прыгает в начало

@alfa-bot
Copy link
Collaborator

Собрана новая демка.

@reme3d2y
Copy link
Contributor

Заметил, что вставка при clearableCountryCode=false работает не так, как при true

Попробуй такие варианты:
+7 999 031-01-02 — работает
+79990310102 — не работает
89990310102 — не работает
+7 (999) 031 01 02 — не работает

@alfa-bot
Copy link
Collaborator

Собрана новая демка.

@alfa-bot
Copy link
Collaborator

Собрана новая демка.

@reme3d2y reme3d2y merged commit d110ae7 into master Jul 19, 2021
@delete-merged-branch delete-merged-branch bot deleted the feat/phone-input-permanent-country branch July 19, 2021 15:03
dmitrsavk pushed a commit that referenced this pull request Jul 19, 2021
# [19.2.0](v19.1.0...v19.2.0) (2021-07-19)

### Bug Fixes

* **intl-phone-input:** remove changing unclearable country code ([#730](#730)) ([6d219d6](6d219d6))

### Features

* **phone-input:** add 'clearableCountyCode' prop ([#749](#749)) ([d110ae7](d110ae7))
* **select:** add scroll handler ([#756](#756)) ([b25351b](b25351b))
* **tooltip:** add target ref property ([#755](#755)) ([9aa962d](9aa962d))
* **typography:** monospaceNumbers prop (PDS-255) ([#697](#697)) ([42d16a6](42d16a6))
@dmitrsavk
Copy link
Contributor

🎉 This PR is included in version 19.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants