Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

If you are reading number and date input values as strings and parsing them manually, there is a better way. More in my latest blog post:

238,257 görüntüleme • 3 yıl önce •via X (Twitter)

10 Yorum

Steve (Builder.io) profil fotoğrafı
Steve (Builder.io)3 yıl önce

Note that there are a couple minor gotchas, such as that an empty number input has a value of `NaN`, whereas an empty date input has a value of `null` More detail in the full article:

beeman 🅿️ profil fotoğrafı
beeman 🅿️3 yıl önce

"You know there's been a better way since like IE 10". Nope, didn't know. Thanks for the tip and the subtle burn 🔥 ;)

Steve (Builder.io) profil fotoğrafı
Steve (Builder.io)3 yıl önce

I was pretty surprised when I saw that this had IE 10 support myself 😅

Hassan profil fotoğrafı
Hassan3 yıl önce

You've been killing it with these videos, Steve! Love watching them cause I always learn something new. Keep it up!

Steve (Builder.io) profil fotoğrafı
Steve (Builder.io)3 yıl önce

Thanks Hassan! I'm loving your photo restorer, beautiful site and great idea!

Miguel Saddi profil fotoğrafı
Miguel Saddi3 yıl önce

@GuiMoraesDev

Adrian | The Web Scraping Guy profil fotoğrafı
Adrian | The Web Scraping Guy3 yıl önce

Amazing

Leo Huynh 🇻🇳 profil fotoğrafı
Leo Huynh 🇻🇳3 yıl önce

Nice tips, thanks for sharing @Steve8708 👍

Neeraj profil fotoğrafı
Neeraj3 yıl önce

Damn! Keep those tips coming 🔥

__main__ profil fotoğrafı
__main__3 yıl önce

Nice nugget!

Benzer Videolar