8👍
✅
Convert the groups_ to string by adding single quote.. then add plus sign (+) to concatenate the groups_ string to the user id.
<input type="radio" :name="'groups_' + user.id" v-bind:value="photographer" v-bind:checked="user.group.name == photographer"> <label>photographer</label>
<input type="radio" :name="'groups_' + user.id" v-bind:value="client" v-bind:checked="user.group.name == client"> <label>client</label>
Source:stackexchange.com