config_tools: hide required checkbox's & drop-down box label
Required fields with a checkbox or drop-down box will potentially
cause confusion. So hide the label when display them.
@@ -291,7 +291,7 @@ export default {
label: () => h('span', {
class: {
genFormLabel: true,
- genFormItemRequired: props.required,
+ genFormItemRequired: props.required && props.schema['ui:widget'] !== 'b-form-checkbox' && !props.uiProps.enumOptions,
},
}, [
...miniDescriptionVNode ? [miniDescriptionVNode] : [],
