Загрузка видео...

Не удалось загрузить видео

На главную

Made a Phone Input component with shadcn ui and libphonenumber-js

48,295 просмотров • 2 лет назад •via X (Twitter)

Комментарии: 11

Фото профиля Damián Ricobelli
Damián Ricobelli2 лет назад

Website: GitHub repo:

Фото профиля Paul 🚧
Paul 🚧2 лет назад

@shadcn Did you take into account, that Windows doesn't support flag emojis?

Фото профиля Damián Ricobelli
Damián Ricobelli2 лет назад

@paul_koeck @shadcn Yes! For a first version, I didn’t want to dwell on it too much. Another way to solve it can be with svg for each country, but I have to investigate a little more.

Фото профиля Francis Baker
Francis Baker2 лет назад

@shadcn You’ve been cranking out some amazing components lately. The stepper is one of my favorites, and using that in an app.

Фото профиля Damián Ricobelli
Damián Ricobelli2 лет назад

@shadcn Thank you very much, Francis ❤️

Фото профиля Abdulhamit Akaslan
Abdulhamit Akaslan2 лет назад

@shadcn Nice job! I just find a weird bug on "Ctrl" + "Z" to revert last char. It keeps copy-paste whole input. Also "Ctrl" + "A" and "Delete" not working properly too.

Фото профиля Damián Ricobelli
Damián Ricobelli2 лет назад

@shadcn Thank you for discovering it! I will try to make the fix between today and tomorrow.

Фото профиля Mohammad Alnahhas
Mohammad Alnahhas2 лет назад

@shadcn Looks very neat! One minor issue I discovered is searching with the country code does not work properly.

Фото профиля Damián Ricobelli
Damián Ricobelli2 лет назад

@shadcn Hey! Could you create an issue in the GitHub repo?

Фото профиля Jidé ✨
Jidé ✨2 лет назад

@shadcn Added your component to my shadcn/ui additional components and resources post

Фото профиля Damián Ricobelli
Damián Ricobelli2 лет назад

@shadcn Thank you 🙏

Похожие видео