add readOnly functionality to array and list by LukasBoll · Pull Request #2040 · eclipsesource/jsonforms
There are two cases:
-
The array is set to read only permanently: In this case, it would be better to don’t show any buttons at all, because otherwise the user may expect some functionalities that aren´t supported.
-
The array can be disabled and enabled: While it would be better to enable/disable the buttons to draw attention to the functionality and the current state, hiding the buttons is still an acceptable solution.
Overall, I would not show the action buttons, since 1) is probably the basic case and it is misleading for the user if buttons without functionality are shown.