Skip to content

Commit 5ba31db

Browse files
authored
Merge pull request #20 from hennelh/patch-2
docs: update readme
2 parents 7811352 + 426c378 commit 5ba31db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export class HomeComponent{
236236
* Observe the `minPrice` value in the `settings` form
237237
* and update the price `control` validators
238238
*/
239-
this.formsManager.selectValue<number>('settings', 'minPrice')
239+
this.formsManager.valueChanges<number>('settings', 'minPrice')
240240
.subscribe(minPrice => setValidators(this.form.get('price'), Validators.min(minPrice));
241241
}
242242
}

0 commit comments

Comments
 (0)