We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eb74a8 commit f73a403Copy full SHA for f73a403
src/ProgrammerAl.Site/ProgrammerAl.Site/Components/PostFeedbackComponent.razor
@@ -1,7 +1,7 @@
1
@using ProgrammerAl.Site.Components.AnimatedComponents
2
<div class="flex flex-col gap-2 border p-4 m-8">
3
<p class="font-semibold text-lg">If you have time, please provide anonymous feedback:</p>
4
- <textarea @bind=@Comments
+ <textarea @bind-value="@Comments" @bind-value:event="oninput"
5
placeholder="Place feedback here..."
6
rows="4"
7
maxlength="2000"
@@ -17,7 +17,8 @@
17
<button @onclick=@PostCommentsAsync
18
class="p-2 w-2/5 place-self-center
19
border border-2 border-green-800 rounded
20
- font-bold text-xl">
+ font-bold text-xl"
21
+ disabled=@(string.IsNullOrWhiteSpace(Comments) ? "true" : "false")>
22
Submit Feedback
23
</button>
24
}
0 commit comments