Radio Input
Commonly used radio input component.
Examples
Radio Fields
Basic form controls
Installation
npx wdc add radioCode
<wdc-radio-group [(ngModel)]="radioValue">
<wdc-radio-item value="free">Free Plan</wdc-radio-item>
<wdc-radio-item value="pro">Pro Plan - $10</wdc-radio-item>
<wdc-radio-item value="enterprise">Enterprise</wdc-radio-item>
</wdc-radio-group>API Reference
| Input | Type | Default | Description |
|---|---|---|---|
| options | { label: string; value: any }[] | undefined | Options for the radio input field. |
| ngModel | any | undefined | Value of the radio input field. |
| disabled | boolean | false | Whether the radio input field is disabled. |
| name | string | undefined | Name of the radio input field. |