fix(FormGroup): remove inputId if the input is a fieldset (#914)

This commit is contained in:
Romain Hamel
2023-11-03 14:31:15 +01:00
committed by GitHub
parent 7891ccb9ac
commit e81d5cf998
2 changed files with 4 additions and 3 deletions

View File

@@ -99,7 +99,7 @@ export default defineComponent({
const { ui, attrs } = useUI('radioGroup', toRef(props, 'ui'), config, toRef(props, 'class'))
const { ui: uiRadio } = useUI('radio', toRef(props, 'uiRadio'), configRadio)
const { emitFormChange, color, name } = useFormGroup(props, config)
const { emitFormChange, color, name } = useFormGroup({ ...props, isFieldset: true }, config)
provide('radio-group', { color, name })
const onUpdate = (value: any) => {