[Sprint/FunnyFrog](bug): Added in counter for comments and alert. #452
Closing #452
I decided rather than throwing an alert at the user, it'd be better to let them write or paste in what they want, and then cut it down to the appropriate length.
Counter is hidden if comment is empty as normal.
Without the error bar.
With the error bar.
2/3 discussions resolved
changed the description
- Resolved by Ben Hayward
- Last updated by Ben Hayward
8 13 </div> 9 14 10 15 <div class="minds-body"> 11 12 16 <div class="m-comments-composer"> 17 13 18 <form (submit)="post($event)"> 14 19 <minds-textarea 15 20 #message="Textarea" 16 21 [(mModel)]="content" 17 22 [disabled]="(ascendingInProgress || descendingInProgress) && attachment.hasFile()" 18 (keyup)="getPostPreview(content)" 23 (keyup)="getPostPreview(content); characterCount(content)" - Owner
dont think we need this?
- Developer
I think we do (and have tested), else there is nothing detecting on a key being pressed, only on paste and backspace
- Resolved by Ben Hayward