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
Expected behavior is that the enabled property is preserved in its own properties so that it can be passed to lower components and be able to disable/enable them
Potentially we could need the visibility to be mapped as well perhaps
The text was updated successfully, but these errors were encountered:
kchobantonov
changed the title
mapStateToJsonFormsRendererProps should map visible property just like react own version of the method
mapStateToJsonFormsRendererProps should map enabled property just like react own version of the method
Feb 6, 2022
Describe the bug
Currently when using different render set than react the enabled property is not preserved.
For example if we use the vuetify render set in this example (https://jsonforms-vuetify-renderers.netlify.app/#/example/main) - the "Address for Shipping T-Shirt" section is never disabled per committer checkbox.
Here is the relevant part of the react renderer set that does not use the core version of mapStateToJsonFormsRendererProps
jsonforms/packages/react/src/JsonForms.tsx
Lines 141 to 153 in 7532a3e
Here is the relevant discussion on discourse https://jsonforms.discourse.group/t/jsonforms-should-propagate-enabled-property-when-mapping-render-properties/489
Expected behavior
Expected behavior is that the enabled property is preserved in its own properties so that it can be passed to lower components and be able to disable/enable them
Steps to reproduce the issue
Screenshots
No response
In which browser are you experiencing the issue?
any
Framework
Core, Vue 2
RendererSet
Other (please specify in the Additional context field)
Additional context
https://github.com/eclipsesource/jsonforms-vuetify-renderers
Potentially we could need the visibility to be mapped as well perhaps
The text was updated successfully, but these errors were encountered: