sweebee / filament-char-counter

MIT License
27 stars 2 forks source link

Filament Char Counter

Installation

composer require wiebenieuwenhuis/filament-char-counter

Usage

Show a character counter in a text input or textarea.

TextInput with a 55 max counter, you can exceed the 55 character limit, the counter will turn red.

TextInput::make('title')->characterLimit(55),

Textarea with a max length of 55 characters. You can't exceed the 55 character limit.

Textarea::make('content')->maxLength(55),

screenshot