feat(RadioGroup): new component (#41)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Romain Hamel
2024-04-02 11:35:16 +02:00
committed by GitHub
parent 80a3a0c28f
commit e29b514f8d
11 changed files with 932 additions and 3 deletions

View File

@@ -68,6 +68,9 @@ const checked = computed({
}
})
// FIXME: I think there's a race condition between this and the v-model event.
// This must be triggered after the value updates, otherwise the form validates
// the previous value.
function onChecked () {
emitFormChange()
}