menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

JSONForms

JSON Forms is a JSON Schema based approach for creating forms and comes with support for React, Angular and Vue. Support here is free, but might involve some delay in the replies based on our current workload for paying customers. We also offer PROFESSIONAL SUPPORT packages to get you started quickly with JSON Forms and to help you with any questions and technical difficulties for JSON Forms with guaranteed response time and in-depth technical solutions. For details please see our web page linked below.

Channels
Team

DropDown Data upadted Null in jsonFormsCore

May 29, 2021 at 2:10pm

DropDown Data upadted Null in jsonFormsCore

May 29, 2021 at 2:10pm
Hi Team ,
When i tried to update the UiSchema.. The drop data which is present in the core is changed to null...Why it is changed to null .. I am updating only UI schema ... eg. this.jsonFormsService.updatecore(Actions.setUISchema ()) other field values are not changed but Autocomplete component(dropdown) value in core is changed

May 31, 2021 at 9:57am
Hi (fioyesuraj), this should not happen. Can you go into more detail:
  • What is the JSON Schema, the original UI Schema and the new UI Schema?
  • Can you post the code of your custom renderer?
Ideally you could post a reproducible example.
this.jsondomesService.updateCore(Actions.setUISchema({"type":"VerticalLayout","elements":[{"type:"control","scope":"#"}]}))

June 1, 2021 at 9:56am
I'm really not sure what you are trying to do. Can you also post the initial schema and uischema?