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

Is it possible to configure an array of checkboxes to display it using cols? #384

Open
jousepo opened this issue Nov 11, 2022 · 0 comments

Comments

@jousepo
Copy link
Contributor

jousepo commented Nov 11, 2022

Having this schema:

const schema = { type: 'object', properties: { stringArrayOneOf: { type: 'array', title: 'I\'m an array with a oneOf and x-display=checkbox', items: { type: 'string', oneOf: [ { const: 'value1', title: 'Value 1' }, { const: 'value2', title: 'Value 2' }, { const: 'value3', title: 'Value 3' }, { const: 'value4', title: 'Value 4' }, { const: 'value5', title: 'Value 5' }, { const: 'value6', title: 'Value 6' } ] }, 'x-display': 'checkbox' } }, required: [ 'stringEnum' ] }

Is it possible to change the cols or display property in order to show inline?

Base example: https://koumoul-dev.github.io/vuetify-jsonschema-form/latest/examples#selection-controls

I tried using those examples but nothing happens https://koumoul-dev.github.io/vuetify-jsonschema-form/latest/examples#classes
I've found this props https://github.com/koumoul-dev/vuetify-jsonschema-form/blob/7794bc3998482b3b6f9824620ccc0b5914f538e1/lib/utils/options.js but with no results too.

Thanks you for your help in advance.

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

No branches or pull requests

1 participant