jefflembeck’s avatarjefflembeck’s Twitter Archive—№ 9,385

  1. TIL <input type="number"> fields, if filled with letters, return an empty string for .value - jlembeck-monosnap.s3.amazonaws.com/Console_-_fileUsersjlembeckDropboxcodeformcoreindex.html_2014-07-14_11-13-13_2014-07-14_11-13-14.jpg
    1. …in reply to @jefflembeck
      That makes it very difficult to write custom validation for that input type as bad content and an empty field are NOT THE SAME THING I'M OK