jsonforms
jsonforms copied to clipboard
Vue-Vuetify Radio Buttons not working
Describe the bug
When i create a radio button based on an enum and try to render it using the vue-vuetify I can not select any value and receive an error label
I define the enum control like this
{ type: 'Control', scope: '#/properties/exampleEnum', options: { format: 'radio' } }
In the schema it is defined like this
exampleEnum: { type: 'string', enum: [ "yes", "no" ] }
Expected behavior
When i click a radio button it should select the corresponding value
Steps to reproduce the issue
- Json Form with "@jsonforms/vue-vuetify": "^3.1.0-preview.0",
- Create form with above provided properties
- Access form and try to select radio button
Screenshots
No response
Which Version of JSON Forms are you using?
3.1.0-preview.0
Framework
Vue
RendererSet
Other (please specify in the Additional context field)
Additional context
"@jsonforms/vue-vuetify": "^3.1.0-preview.0",
Can you check what the actual data value of exampleEnum is which you hand over to the form? It seems like it is not a string. It's also not undefined as the error would be different. The renderer is probably not able to handle the actual value which is passed in.