jsonforms
jsonforms copied to clipboard
Suport label for multi select field
Is your feature request related to a problem? Please describe.
The multi select fields does not display the title of the field as label.
oneOfMultiEnum: {
type: 'array',
uniqueItems: true,
title: 'select all that apply'
items: {
oneOf: [
{ const: 'foo', title: 'My Foo' },
{ const: 'bar', title: 'My Bar' },
{ const: 'foobar', title: 'My FooBar' }
]
}
}
The label "select all that apply" is not displayed in the form. Even if I enforce the label in the ui schema it does not work.
I was able to achieve that if I wrap my control in a group, but that gives more emphasis in the group title than I wish it would. I want the label to be in the same format as the other labels are.
Describe the solution you'd like
Display the title as label as it would for the other fields automatically without any extra configuration.
Describe alternatives you've considered
I'm fine with it being a opt-in feature.
Framework
React
RendererSet
Material
Additional context
No response
Makes sense to me! Would you like to contribute this feature?
Makes sense to me! Would you like to contribute this feature?
I can, but not in the short term. Do you want to assign the issue to me?
Hi @luiz290788, do you still plan to contribute this feature?