jsonforms icon indicating copy to clipboard operation
jsonforms copied to clipboard

Vue-Vuetify Radio Buttons not working

Open RudlTier opened this issue 1 year ago • 1 comments

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 image

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

  1. Json Form with "@jsonforms/vue-vuetify": "^3.1.0-preview.0",
  2. Create form with above provided properties
  3. 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",

RudlTier avatar Feb 09 '24 09:02 RudlTier

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.

sdirix avatar Feb 12 '24 15:02 sdirix