jdorn / json-editor

JSON Schema Based Editor
MIT License
5.81k stars 1.08k forks source link

Angular How to send default configuration ? #849

Open vsudigali opened 1 year ago

vsudigali commented 1 year ago

Hi,

I am using <dm-json-form title="Hello world" (change)="ShowItem($event)" [schema]="defaultSchema" [data]="item">

I want to use the default configuration as below. How to do that?

  disable_edit_json: true,
  disable_properties: false,
  disable_array_reorder: true,
  disable_array_delete_last_row: true,
  disable_array_delete_all_rows: true,
  collapsed: true,
  use_default_values: true,
  use_name_attributes: false,
  array_controls_top: true,
  display_required_only: false,
  show_opt_in: true,

Thanks, Vijay