Skip to content

Commit

Permalink
Fixed #9
Browse files Browse the repository at this point in the history
  • Loading branch information
sweebee authored Jun 2, 2023
1 parent 2e02b5e commit 26f6967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/textarea.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
:state-path="$getStatePath()"
>
<div class="relative overflow-hidden"
x-data="{characterLimit: {{ $getCharacterLimit() }}, characterCount: {{ strlen($getState()) }}}">
x-data="{characterLimit: {{ $getCharacterLimit() }}, characterCount: {{ mb_strlen($getState()) }}}">
<div class="bg-white dark:bg-gray-700 absolute right-1 rtl:!left-1 rtl:!right-auto px-2 bottom-1 pb-1 text-sm" @if($getCharacterLimit()) :class="{'text-danger-500': characterCount > {{ $getCharacterLimit() }}}" @endif>
<span x-text="characterCount"></span>@if($getCharacterLimit())/{{ $getCharacterLimit() }}@endif
</div>
Expand Down

0 comments on commit 26f6967

Please sign in to comment.