Adding maxLength property to input