-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
I've spent the past couple of hours trying to get my head around how to perform custom data binding on the radio group control. I want to bind a list of radio button to an array of objects. Unfortunately, it's unclear how to customize the data binding or wether it is even possible. I've modified the stock example for reference:
https://jsfiddle.net/joelrodgers/5cv3Lbty/21/
As you can see in the options array, I changed the field name of the value to bob and set the value attribute in the b-form-radio-group to bob and it doesn't change the default binding. I also tried to change the bindings of a few other fields.
It appears there's no way of changing the data binding mapping. If I have to create an alternate model for the sole purpose of data binding, then this library is useless.