[Vuejs]-Is it possible to to have checked radio without defiled data in VUE?

0👍

You could set the initial state as rent like the following:

data (
    return {
        formData : {
            Department: "rent"
        }
    }
)

then when you iterate change to:

:checked="o.value === formData.Department"

Leave a comment