Skip to content

Checkboxgroup, usage without linked value first defined #465

@BrentH-Alnico

Description

@BrentH-Alnico

Hi Boris,

Minor issues related to checkboxgroup...

When using plain objects/arrays with two-way data bound inputs where the linked property does not exist in the underlying data, it is automatically inserted. This is handy of course when maintaining state eg. section is open/closed using a checkbox...

However, checkboxgroup does not work...the property is inserted but not as an []...resulting in all checkboxes being checked.
Note: radiogroup does work.


Regarding linkTo for checkboxgroup and radiogroup: I couldn't find any documentation suggesting that linkTo is supported or not. I did some testing...

linkTo with radiogroup does work.

linkTo with checkboxgroup works, but values get mangled at some point.

Here is a test file...
https://jsfiddle.net/alnico/taqx51cp/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions