ModusCreateOrg / ionic-vue

Vuejs integration for Ionic versions 4 and 5
MIT License
271 stars 26 forks source link

Unable to get value from IonRadioGroup #145

Closed a-Leong closed 4 years ago

a-Leong commented 4 years ago

I'm unable to get data binding working correctly for IonRadioGroup: example.

The above example takes approach outlined in https://github.com/ModusCreateOrg/ionic-vue/issues/51:

<IonRadioGroup :value="foo" @ionChange="foo = $event.target.value">...</IonRadioGroup>

however the value of property foo does not change. Also tried:

<IonRadioGroup :value="foo" v-on:ionChange="foo = $event.target.value">...</IonRadioGroup>

and

<IonRadioGroup v-model="foo">...</IonRadioGroup>
michaeltintiuc commented 4 years ago

Hey @a-Leong , thanks for creating the issue. I've just release 3.0.0-alpha.15 and it should now be fixed, reopen the issue if anything goes wrong.