Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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

48,295 görüntüleme • 2 yıl önce •via X (Twitter)

11 Yorum

Damián Ricobelli profil fotoğrafı
Damián Ricobelli2 yıl önce

Website: GitHub repo:

Paul 🚧 profil fotoğrafı
Paul 🚧2 yıl önce

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

Damián Ricobelli profil fotoğrafı
Damián Ricobelli2 yıl önce

@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 profil fotoğrafı
Francis Baker2 yıl önce

@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 profil fotoğrafı
Damián Ricobelli2 yıl önce

@shadcn Thank you very much, Francis ❤️

Abdulhamit Akaslan profil fotoğrafı
Abdulhamit Akaslan2 yıl önce

@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 profil fotoğrafı
Damián Ricobelli2 yıl önce

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

Mohammad Alnahhas profil fotoğrafı
Mohammad Alnahhas2 yıl önce

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

Damián Ricobelli profil fotoğrafı
Damián Ricobelli2 yıl önce

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

Jidé ✨ profil fotoğrafı
Jidé ✨2 yıl önce

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

Damián Ricobelli profil fotoğrafı
Damián Ricobelli2 yıl önce

@shadcn Thank you 🙏

Benzer Videolar