mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(radio): Delete example for two-way binding (#2138)
This commit is contained in:
@@ -12,15 +12,6 @@ A basic radio group would have the following markup.
|
||||
</md-radio-group>
|
||||
```
|
||||
|
||||
A dynamic example, populated from a `data` variable:
|
||||
```html
|
||||
<md-radio-group [(value)]="groupValue">
|
||||
<md-radio-button *ngFor="let d of data" [value]="d.value">
|
||||
{{d.label}}
|
||||
</md-radio-button>
|
||||
</md-radio-group>
|
||||
```
|
||||
|
||||
A dynamic example for use inside a form showing support for `[(ngModel)]`:
|
||||
```html
|
||||
<md-radio-group [(ngModel)]="chosenOption">
|
||||
|
||||
Reference in New Issue
Block a user