Skip to content

Commit db95c4e

Browse files
committed
Fixed two-way binding of title for blogposts
1 parent 7c54e7a commit db95c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LinkDotNet.Blog.Web/Shared/Admin/CreateNewBlogPost.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<ValidationSummary />
1111
<div class="mb-3">
1212
<label for="title">Title</label>
13-
<input class="form-control" id="title" value="@model.Title"
13+
<input class="form-control" id="title"
1414
@oninput="args => model.Title = args.Value.ToString()"/>
1515
</div>
1616
<div class="mb-3">

0 commit comments

Comments
 (0)