IgniteUI / igniteui-webcomponents

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.
https://www.infragistics.com/products/ignite-ui-web-components
Other
113 stars 2 forks source link

feat(radio-group): Set radio properties through the group #1262

Closed rkaraivanov closed 1 week ago

rkaraivanov commented 2 weeks ago

Added name and value properties on the igc-radio-group. Developers can now control the checked state of the underlying igc-radio components through the enclosing group.

Closes #315

wnvko commented 2 weeks ago

LGTM Hopefully no one will set the radio group name to 0 of false.

rkaraivanov commented 2 weeks ago

LGTM Hopefully no one will set the radio group name to 0 of false.

This shouldn't be an issue in normal scenarios. If it is bound as an attribute both 0 and false are coerced to truthy string values. If you try to set them through a property assignment on a string property that is just a developer being sloppy.