From f012494e1eb8f8e06f5dd1da1968bc22f37b6de2 Mon Sep 17 00:00:00 2001 From: carimatics Date: Wed, 15 Jan 2025 00:25:00 +0900 Subject: [PATCH] docs(forms): escape inequality signs of input tags in flowchart (#59517) The input tags written within the flowcharts in the document were not being escaped, so we did that. This change will ensure that the flowcharts in the document are properly displayed. PR Close #59517 --- adev/src/content/guide/forms/overview.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/adev/src/content/guide/forms/overview.md b/adev/src/content/guide/forms/overview.md index 60a3ea327d3..88d64454ddf 100644 --- a/adev/src/content/guide/forms/overview.md +++ b/adev/src/content/guide/forms/overview.md @@ -110,7 +110,7 @@ The view-to-model diagram shows how data flows when an input field's value is ch ```mermaid flowchart TB U{User} - I("") + I("<input>") CVA(ControlValueAccessor) FC(FormControl) O(Observers) @@ -130,14 +130,14 @@ The model-to-view diagram shows how a programmatic change to the model is propag ```mermaid flowchart TB U{User} - I() + I("<input>") CVA(ControlValueAccessor) FC(FormControl) O(Observers) U-->|"Calls setValue() on the FormControl"|FC FC-->|Notifies the ControlValueAccessor|CVA FC-.->|Fires a 'valueChanges' event to observers|O - CVA-->|"Updates the value of the "|I + CVA-->|"Updates the value of the <input>"|I ``` ### Data flow in template-driven forms @@ -157,7 +157,7 @@ The view-to-model diagram shows how data flows when an input field's value is ch ```mermaid flowchart TB U{User} - I() + I("<input>") CVA(ControlValueAccessor) FC(FormControl) M(NgModel) @@ -207,7 +207,7 @@ flowchart TB FC2(FormControl) O(Observers) CVA(ControlValueAccessor) - I("") + I("<input>") FC2-.->|Fires a 'valueChanges' event to observers|O O-->|ControlValueAccessor receives valueChanges event|CVA CVA-->|Sets the value in the control|I