BlazorGuidelines icon indicating copy to clipboard operation
BlazorGuidelines copied to clipboard

Align the attributes of HTML tags

Open tossnet opened this issue 2 years ago • 1 comments

To improve the reading of Razor pages, it is clearer to align with a line break the attributes of components or HTML tags

❌ : <MudTextField T="string" MaxLength="200" @bind-Value="demoAccount.Email" InputType="InputType.Email" Label="Email" Margin="Margin.Dense" autocomplete="off" />

<MudTextField T="string" 
              MaxLength="200" 
              @bind-Value="demoAccount.Email" 
              InputType="InputType.Email" 
              Label="Email" 
              Margin="Margin.Dense" 
              autocomplete="off"  />

tossnet avatar Jan 09 '23 09:01 tossnet

Yes. Good idea. Can you update the Readme.md with this improvement?

dvoituron avatar Jan 09 '23 09:01 dvoituron