realm / realm-browser-osx

DEPRECATED - Realm Browser for Mac OS X has been replaced by realm-studio which is cross platform.
https://realm.io
503 stars 54 forks source link

When adding a new record optional Data fields get a default value - should be nil #333

Open dhmspector opened 7 years ago

dhmspector commented 7 years ago

In version 2.1.9(93) when adding a new record with CMD-+, any optional NSDate fields get populated with 6 bytes:

    ▿ bytes : 6 elements
      - 0 : 60
      - 1 : 68
      - 2 : 97
      - 3 : 116
      - 4 : 97
      - 5 : 62

Unfortunately you cannot delete these data from the field using the browser; so there are really two issues

  1. No random data in optional fields
  2. Ability to clear out the field
stel commented 7 years ago

Thanks for reporting this, @dhmspector!