mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-31 23:38:24 +00:00
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. Tracked-On: #7864 Signed-off-by: Yuanyuan Zhao <yuanyuan.zhao@linux.intel.com>
This commit is contained in:
parent
8adf40293c
commit
d8761ed7f0
@ -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] : [],
|
||||
|
Loading…
Reference in New Issue
Block a user