rodriquelca / dunamis-jform

Other
0 stars 1 forks source link

SideBar Properties disappear when selecting other components #89

Closed TinCodes closed 2 years ago

TinCodes commented 2 years ago

Describe the bug When selecting a component from the editor and changing their properties, these are not retrieved if you select another view for the Side Bar and re-select the original. This could mean the Side Bar is not retrieving values from the uiSchema properly.

To Reproduce Steps to reproduce the behavior:

  1. Start screen (Json Forms Welcome).
  2. Click on Json Forms Editor button on the Activity Bar.
  3. Drag and drop a Control component in the Vertical Layout that appears by default in the Main Panel.
  4. Write anything in the "Placeholder" and "Hint" properties.
  5. Click on the "Editor" button in the Actions Bar.
  6. Click on the component placed previously.
  7. See error (empty properties).

Expected behavior Whenever the Side Bar switches it's view to show the values introduced on any component, these should be the ones that are present in the uiSchema for their respective components.

Screenshots image image

TinCodes commented 2 years ago

As of #46 and #101, this issue has been solved.