Skip to content

Commit f6de090

Browse files
fix(material/list): Mat Selection List example is limited to html templating
Added a reactive forms example to the single selection list Fixes #25894
1 parent 88a49eb commit f6de090

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components-examples/material/list/list-single-selection-reactive-form/list-single-selection-reactive-form-example.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import {Component} from '@angular/core';
22
import {FormControl, FormGroup, FormsModule, ReactiveFormsModule} from '@angular/forms';
33
import {MatListModule} from '@angular/material/list';
4+
45
interface Shoes {
56
value: string;
67
name: string;
78
}
89
/**
9-
* @title List with single selection using a reactive forms approach
10+
* @title List with single selection using Reactive forms
1011
*/
1112
@Component({
1213
selector: 'list-single-selection-reactive-form-example',

0 commit comments

Comments
 (0)