Skip to content

Commit 2c11912

Browse files
committed
Fixed wrong input type for short description
1 parent d3d66fa commit 2c11912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
</div>
1616
<div class="mb-3">
1717
<label for="short">Short Description</label>
18-
<input class="form-control" id="short" rows="4" value="@model.ShortDescription"
19-
@oninput="args => model.ShortDescription = args.Value.ToString()"/>
18+
<textarea class="form-control" id="short" rows="4"
19+
@oninput="args => model.ShortDescription = args.Value.ToString()">@model.ShortDescription</textarea>
2020
<small for="short" class="form-text text-muted">You can use markdown to style your component.</small>
2121
</div>
2222
<div class="mb-3">

0 commit comments

Comments
 (0)