🌐 AI搜索 & 代理 主页
Skip to content

Documentation is unclear about custom data-binding #4035

@Joebeazelman

Description

@Joebeazelman

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions