josdejong / svelte-jsoneditor

A web-based tool to view, edit, format, repair, query, transform, and validate JSON
https://jsoneditoronline.org
Other
814 stars 108 forks source link

fix: #424 resetting properties to undefined does not restore it's default value #426

Closed josdejong closed 1 month ago

josdejong commented 2 months ago

See #424

Todo:

  1. Decide on whether this is the best approach
  2. Think through whether we want to remove support for null in favor of undefined for the properties selection, validator, and onSelect
josdejong commented 1 month ago

Closing this PR, better to look into a different direction for a solution. See https://github.com/josdejong/svelte-jsoneditor/pull/424#issuecomment-2116974777