Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue-Vuetify Radio Buttons not working #2273

Open
RudlTier opened this issue Feb 9, 2024 · 1 comment
Open

Vue-Vuetify Radio Buttons not working #2273

RudlTier opened this issue Feb 9, 2024 · 1 comment

Comments

@RudlTier
Copy link

RudlTier commented Feb 9, 2024

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",

@sdirix
Copy link
Member

sdirix commented Feb 12, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants