Skip to content

Commit

Permalink
fix: onclick urls of images (#47)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonne Kleijer <[email protected]>
  • Loading branch information
jonnekleijer and Jonne Kleijer authored May 23, 2024
1 parent 0ec37ce commit cce0b7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ order: 3
[![](images/SourceLink.png)](https://github.com/mrpmorris/blazor-university/tree/master/src/Forms/ValidatingUserInput)

The `DataAnnotationsValidator` is the standard validator type in Blazor.
Adding this component within an `EditForm` component will enable form validation based on .NET attributes descended
Adding this component within an `EditForm` component will enable form validation based on .NET attributes descended
from `System.ComponentModel.DataAnnotations.ValidationAttribute`.

First we'll create a short example, then we'll go through what happens behind the scenes.
Expand Down Expand Up @@ -133,4 +133,4 @@ whereas the razor expression makes it more obvious to other developers that we a
}
```

[![](images/ValidationSummaryAndValidationMessages.png)](http://blazor-university.com/wp-content/uploads/2019/08/ValidationSummaryAndValidationMessages.png)
[![](images/ValidationSummaryAndValidationMessages.png)](images/ValidationSummaryAndValidationMessages.png)
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Blazor layouts work only within the part of the HTML that Blazor is defined with
in a default Blazor application this is everything within the `<app>` element.
It isn't currently possible to alter attributes of HTML elements outside of this scope except by use of [JavaScript Interop](http://blazor-university.com/javascript-interop/).

[![](images/Layout.png)](http://blazor-university.com/wp-content/uploads/2019/06/image.png)
[![](images/Layout.png)](images/Layout.png)
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The name Blazor is a combination/mutation of the words Browser and Razor (the .N
The implication being that instead of having to execute Razor views on the server in order to present HTML to the browser,
Blazor is capable of executing these views on the client.

[![Blazor client side](images/BlazorClientSide-300x251.png)](http://blazor-university.com/wp-content/uploads/2019/05/BlazorClientSide.png)
[![Blazor client side](images/BlazorClientSide-300x251.png)](images/BlazorClientSide-300x251.png)

Blazor app with client-side execution

Expand Down

0 comments on commit cce0b7d

Please sign in to comment.