You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Empty master-detail list is not updating itself when the data array is being replaced using jsonFormsService.updateCore(Actions.update, ...).
The master-detail list will only update when it is forced to redraw itself from browser window being resized or when adding another entry through the master-detail control itself.
I ran into another problem with the master-detail list:
Calling jsonFormsAngularService.setReadonly(true) disables a master-detail component, but calling jsonFormsAngularService.setReadonly(false) afterwards only enables the master list controls, not the nested details controls.
When the data array of the list master detail renderer is empty,
then changing the data does not rerender the ui.
To fix this the changeDetector is manually triggered.
This error can only be reproduced in the seed,
not from the dev environment.
Furthermore the readonly handling was fixed.
Fixeclipsesource#1667
Describe the bug
Empty master-detail list is not updating itself when the data array is being replaced using
jsonFormsService.updateCore(Actions.update, ...)
.The master-detail list will only update when it is forced to redraw itself from browser window being resized or when adding another entry through the master-detail control itself.
See https://spectrum.chat/jsonforms/general/angular-empty-master-detail-list-not-updating~76ad2d65-d1df-426c-bf6e-00f00ea6c6eb
To Reproduce
Import data
buttonExpected behavior
The master-detail list updates to show the content of the new data array
Browser
Chrome 87.0.4280.88
The text was updated successfully, but these errors were encountered: